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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CapacityReservationCommitmentInfo.BuildercommitmentEndDate(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).CapacityReservationCommitmentInfo.BuildercommittedInstanceCount(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
committedInstanceCount
CapacityReservationCommitmentInfo.Builder committedInstanceCount(Integer 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
CapacityReservationCommitmentInfo.Builder commitmentEndDate(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). 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.
-
-