Interface CancellationTerms.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CancellationTerms.Builder,,CancellationTerms> SdkBuilder<CancellationTerms.Builder,,CancellationTerms> SdkPojo
- Enclosing class:
CancellationTerms
@Mutable
@NotThreadSafe
public static interface CancellationTerms.Builder
extends SdkPojo, CopyableBuilder<CancellationTerms.Builder,CancellationTerms>
-
Method Summary
Modifier and TypeMethodDescriptioncancellationType(String cancellationType) The type of cancellation charge.cancellationType(ApplyCancellationCharges cancellationType) The type of cancellation charge.chargeCommitmentDurationHours(Long chargeCommitmentDurationHours) The number of hours for which cancellation charges will apply.chargeEndDate(Instant chargeEndDate) The date and time at which cancellation charges will stop.committedInstanceCount(Integer committedInstanceCount) The number of instances under commitment after cancellation.reservationState(String reservationState) The state that the Capacity Reservation will transition to after cancellation.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
-
cancellationType
The type of cancellation charge. Possible values include
commitment-wind-down.- Parameters:
cancellationType- The type of cancellation charge. Possible values includecommitment-wind-down.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cancellationType
The type of cancellation charge. Possible values include
commitment-wind-down.- Parameters:
cancellationType- The type of cancellation charge. Possible values includecommitment-wind-down.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reservationState
The state that the Capacity Reservation will transition to after cancellation.
- Parameters:
reservationState- The state that the Capacity Reservation will transition to after cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
committedInstanceCount
The number of instances under commitment after cancellation.
- Parameters:
committedInstanceCount- The number of instances under commitment after cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeCommitmentDurationHours
The number of hours for which cancellation charges will apply.
- Parameters:
chargeCommitmentDurationHours- The number of hours for which cancellation charges will apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chargeEndDate
The date and time at which cancellation charges will stop.
- Parameters:
chargeEndDate- The date and time at which cancellation charges will stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-