Interface CapacityReservationCommitmentInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationCommitmentInfo.Builder,,CapacityReservationCommitmentInfo> SdkBuilder<CapacityReservationCommitmentInfo.Builder,,CapacityReservationCommitmentInfo> SdkPojo
- Enclosing class:
CapacityReservationCommitmentInfo
@Mutable
@NotThreadSafe
public static interface CapacityReservationCommitmentInfo.Builder
extends SdkPojo, CopyableBuilder<CapacityReservationCommitmentInfo.Builder,CapacityReservationCommitmentInfo>
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentEndDate(Instant commitmentEndDate) The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).committedInstanceCount(Integer committedInstanceCount) The instance capacity that you committed to when you requested the future-dated 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
-
committedInstanceCount
The instance capacity that you committed to when you requested the future-dated Capacity Reservation.
- Parameters:
committedInstanceCount- The instance capacity that you committed to when you requested the future-dated Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentEndDate
The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.- Parameters:
commitmentEndDate- The date and time at which the commitment duration expires, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). You can't decrease the instance count or cancel the Capacity Reservation before this date and time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-