Interface CapacityReservation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservation.Builder,,CapacityReservation> SdkBuilder<CapacityReservation.Builder,,CapacityReservation> SdkPojo
- Enclosing class:
CapacityReservation
@Mutable
@NotThreadSafe
public static interface CapacityReservation.Builder
extends SdkPojo, CopyableBuilder<CapacityReservation.Builder,CapacityReservation>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the Capacity Reservation.The type of Capacity Reservation.type(CapacityReservationType type) The type of 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
-
arn
The Amazon Resource Name (ARN) of the Capacity Reservation.
- Parameters:
arn- The Amazon Resource Name (ARN) of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of Capacity Reservation. Valid values are
ODCR(On-Demand Capacity Reservation) orCRG(Capacity Reservation Group).- Parameters:
type- The type of Capacity Reservation. Valid values areODCR(On-Demand Capacity Reservation) orCRG(Capacity Reservation Group).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of Capacity Reservation. Valid values are
ODCR(On-Demand Capacity Reservation) orCRG(Capacity Reservation Group).- Parameters:
type- The type of Capacity Reservation. Valid values areODCR(On-Demand Capacity Reservation) orCRG(Capacity Reservation Group).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-