Interface CapacityReservationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationConfiguration.Builder,,CapacityReservationConfiguration> SdkBuilder<CapacityReservationConfiguration.Builder,,CapacityReservationConfiguration> SdkPojo
- Enclosing class:
CapacityReservationConfiguration
@Mutable
@NotThreadSafe
public static interface CapacityReservationConfiguration.Builder
extends SdkPojo, CopyableBuilder<CapacityReservationConfiguration.Builder,CapacityReservationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceCount(Integer instanceCount) The number of instances in the Capacity Reservation.reservationState(String reservationState) The current state of the Capacity Reservation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceCount
The number of instances in the Capacity Reservation.
- Parameters:
instanceCount- The number of instances in the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservationState
The current state of the Capacity Reservation.
- Parameters:
reservationState- The current state of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-