public static interface CapacityAssignmentConfiguration.Builder extends SdkPojo, CopyableBuilder<CapacityAssignmentConfiguration.Builder,CapacityAssignmentConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CapacityAssignmentConfiguration.Builder |
capacityAssignments(CapacityAssignment... capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
|
CapacityAssignmentConfiguration.Builder |
capacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
|
CapacityAssignmentConfiguration.Builder |
capacityAssignments(Consumer<CapacityAssignment.Builder>... capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
|
CapacityAssignmentConfiguration.Builder |
capacityReservationName(String capacityReservationName)
The name of the reservation that the capacity assignment configuration is for.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCapacityAssignmentConfiguration.Builder capacityReservationName(String capacityReservationName)
The name of the reservation that the capacity assignment configuration is for.
capacityReservationName - The name of the reservation that the capacity assignment configuration is for.CapacityAssignmentConfiguration.Builder capacityAssignments(Collection<CapacityAssignment> capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
capacityAssignments - The list of assignments that make up the capacity assignment configuration.CapacityAssignmentConfiguration.Builder capacityAssignments(CapacityAssignment... capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
capacityAssignments - The list of assignments that make up the capacity assignment configuration.CapacityAssignmentConfiguration.Builder capacityAssignments(Consumer<CapacityAssignment.Builder>... capacityAssignments)
The list of assignments that make up the capacity assignment configuration.
This is a convenience method that creates an instance of theCapacityAssignment.Builder avoiding the need to create
one manually via CapacityAssignment.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #capacityAssignments(List.
capacityAssignments - a consumer that will call methods on
CapacityAssignment.Builder#capacityAssignments(java.util.Collection) Copyright © 2023. All rights reserved.