Interface ModificationReservationUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ModificationReservationUpdate.Builder,,ModificationReservationUpdate> SdkBuilder<ModificationReservationUpdate.Builder,,ModificationReservationUpdate> SdkPojo
- Enclosing class:
ModificationReservationUpdate
@Mutable
@NotThreadSafe
public static interface ModificationReservationUpdate.Builder
extends SdkPojo, CopyableBuilder<ModificationReservationUpdate.Builder,ModificationReservationUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionnewCommitmentDuration(Integer newCommitmentDuration) The commitment duration, in seconds, that the Capacity Reservation will have after the modification.newCommitmentEndDate(Instant newCommitmentEndDate) The date and time at which the commitment duration will expire after the modification, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).newStartDate(Instant newStartDate) The start date that the Capacity Reservation will have after the modification, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).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
-
newCommitmentEndDate
The date and time at which the commitment duration will expire after the modification, in the ISO8601 format in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ).- Parameters:
newCommitmentEndDate- The date and time at which the commitment duration will expire after the modification, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newStartDate
The start date that the Capacity Reservation will have after the modification, in the ISO8601 format in the UTC time zone (
YYYY-MM-DDThh:mm:ss.sssZ).- Parameters:
newStartDate- The start date that the Capacity Reservation will have after the modification, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newCommitmentDuration
The commitment duration, in seconds, that the Capacity Reservation will have after the modification.
- Parameters:
newCommitmentDuration- The commitment duration, in seconds, that the Capacity Reservation will have after the modification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-