Class CfnCapacityReservation.CapacityAssignmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnCapacityReservation.CapacityAssignmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentProperty>
- Enclosing interface:
CfnCapacityReservation.CapacityAssignmentProperty
@Stability(Stable)
public static final class CfnCapacityReservation.CapacityAssignmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentProperty>
A builder for
CfnCapacityReservation.CapacityAssignmentProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.workgroupNames
(List<String> workgroupNames) Sets the value ofCfnCapacityReservation.CapacityAssignmentProperty.getWorkgroupNames()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
workgroupNames
@Stability(Stable) public CfnCapacityReservation.CapacityAssignmentProperty.Builder workgroupNames(List<String> workgroupNames) Sets the value ofCfnCapacityReservation.CapacityAssignmentProperty.getWorkgroupNames()
- Parameters:
workgroupNames
- The list of workgroup names for the capacity assignment. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCapacityReservation.CapacityAssignmentProperty>
- Returns:
- a new instance of
CfnCapacityReservation.CapacityAssignmentProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-