Interface CapacityReservationAdjustmentDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationAdjustmentDetails.Builder,,CapacityReservationAdjustmentDetails> SdkBuilder<CapacityReservationAdjustmentDetails.Builder,,CapacityReservationAdjustmentDetails> SdkPojo
- Enclosing class:
CapacityReservationAdjustmentDetails
-
Method Summary
Modifier and TypeMethodDescriptioncommitmentDuration(Long commitmentDuration) The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.commitmentEndDate(Instant commitmentEndDate) The date and time at which the commitment duration will expire after the adjustment.The end date that the Capacity Reservation will have after the adjustment.endDateType(String endDateType) Indicates the way in which the Capacity Reservation will end after the adjustment.The start date that the Capacity Reservation will have after the adjustment.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
-
startDate
The start date that the Capacity Reservation will have after the adjustment.
- Parameters:
startDate- The start date that the Capacity Reservation will have after the adjustment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDate
The end date that the Capacity Reservation will have after the adjustment.
- Parameters:
endDate- The end date that the Capacity Reservation will have after the adjustment.- 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 will expire after the adjustment.
- Parameters:
commitmentEndDate- The date and time at which the commitment duration will expire after the adjustment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endDateType
Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:
-
unlimited- The Capacity Reservation remains active until you explicitly cancel it. -
limited- The Capacity Reservation expires automatically at the date and time given byendDate.
- Parameters:
endDateType- Indicates the way in which the Capacity Reservation will end after the adjustment. Possible values are:-
unlimited- The Capacity Reservation remains active until you explicitly cancel it. -
limited- The Capacity Reservation expires automatically at the date and time given byendDate.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
commitmentDuration
The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.
- Parameters:
commitmentDuration- The commitment duration, in seconds, that the Capacity Reservation will have after the adjustment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-