Class CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentConfigurationProperty>
- Enclosing interface:
CfnCapacityReservation.CapacityAssignmentConfigurationProperty
@Stability(Stable)
public static final class CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityAssignments(List<? extends Object> capacityAssignments) capacityAssignments(IResolvable capacityAssignments)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityAssignments
@Stability(Stable) public CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder capacityAssignments(IResolvable capacityAssignments) Sets the value ofCfnCapacityReservation.CapacityAssignmentConfigurationProperty.getCapacityAssignments()- Parameters:
capacityAssignments- The list of assignments that make up the capacity assignment configuration. This parameter is required.- Returns:
this
-
capacityAssignments
@Stability(Stable) public CfnCapacityReservation.CapacityAssignmentConfigurationProperty.Builder capacityAssignments(List<? extends Object> capacityAssignments) Sets the value ofCfnCapacityReservation.CapacityAssignmentConfigurationProperty.getCapacityAssignments()- Parameters:
capacityAssignments- The list of assignments that make up the capacity assignment configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentConfigurationProperty>- Returns:
- a new instance of
CfnCapacityReservation.CapacityAssignmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-