Interface CapacityReservationCancellationQuote.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationCancellationQuote.Builder,,CapacityReservationCancellationQuote> SdkBuilder<CapacityReservationCancellationQuote.Builder,,CapacityReservationCancellationQuote> SdkPojo
- Enclosing class:
CapacityReservationCancellationQuote
-
Method Summary
Modifier and TypeMethodDescriptioncancellationTerms(Collection<CancellationTerms> cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.cancellationTerms(Consumer<CancellationTerms.Builder>... cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.cancellationTerms(CancellationTerms... cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.capacityReservationCancellationQuoteId(String capacityReservationCancellationQuoteId) The ID of the cancellation quote.capacityReservationId(String capacityReservationId) The ID of the Capacity Reservation associated with the cancellation quote.createTime(Instant createTime) The date and time at which the cancellation quote was created.currentConfiguration(Consumer<CapacityReservationConfiguration.Builder> currentConfiguration) The current configuration of the Capacity Reservation.currentConfiguration(CapacityReservationConfiguration currentConfiguration) The current configuration of the Capacity Reservation.expirationTime(Instant expirationTime) The date and time at which the cancellation quote expires.quoteState(String quoteState) The state of the cancellation quote.quoteState(CapacityReservationCancellationQuoteState quoteState) The state of the cancellation quote.tags(Collection<Tag> tags) The tags assigned to the cancellation quote.tags(Consumer<Tag.Builder>... tags) The tags assigned to the cancellation quote.The tags assigned to the cancellation quote.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
-
capacityReservationCancellationQuoteId
CapacityReservationCancellationQuote.Builder capacityReservationCancellationQuoteId(String capacityReservationCancellationQuoteId) The ID of the cancellation quote.
- Parameters:
capacityReservationCancellationQuoteId- The ID of the cancellation quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationId
The ID of the Capacity Reservation associated with the cancellation quote.
- Parameters:
capacityReservationId- The ID of the Capacity Reservation associated with the cancellation quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The date and time at which the cancellation quote was created.
- Parameters:
createTime- The date and time at which the cancellation quote was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationTime
The date and time at which the cancellation quote expires.
- Parameters:
expirationTime- The date and time at which the cancellation quote expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quoteState
The state of the cancellation quote. Possible values include
pending,active, andexpired.- Parameters:
quoteState- The state of the cancellation quote. Possible values includepending,active, andexpired.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
quoteState
CapacityReservationCancellationQuote.Builder quoteState(CapacityReservationCancellationQuoteState quoteState) The state of the cancellation quote. Possible values include
pending,active, andexpired.- Parameters:
quoteState- The state of the cancellation quote. Possible values includepending,active, andexpired.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentConfiguration
CapacityReservationCancellationQuote.Builder currentConfiguration(CapacityReservationConfiguration currentConfiguration) The current configuration of the Capacity Reservation.
- Parameters:
currentConfiguration- The current configuration of the Capacity Reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentConfiguration
default CapacityReservationCancellationQuote.Builder currentConfiguration(Consumer<CapacityReservationConfiguration.Builder> currentConfiguration) The current configuration of the Capacity Reservation.
This is a convenience method that creates an instance of theCapacityReservationConfiguration.Builderavoiding the need to create one manually viaCapacityReservationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentConfiguration(CapacityReservationConfiguration).- Parameters:
currentConfiguration- a consumer that will call methods onCapacityReservationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cancellationTerms
CapacityReservationCancellationQuote.Builder cancellationTerms(Collection<CancellationTerms> cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.
- Parameters:
cancellationTerms- The cancellation terms associated with the quote, including the fee type and charge details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellationTerms
CapacityReservationCancellationQuote.Builder cancellationTerms(CancellationTerms... cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.
- Parameters:
cancellationTerms- The cancellation terms associated with the quote, including the fee type and charge details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancellationTerms
CapacityReservationCancellationQuote.Builder cancellationTerms(Consumer<CancellationTerms.Builder>... cancellationTerms) The cancellation terms associated with the quote, including the fee type and charge details.
This is a convenience method that creates an instance of theCancellationTerms.Builderavoiding the need to create one manually viaCancellationTerms.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocancellationTerms(List<CancellationTerms>).- Parameters:
cancellationTerms- a consumer that will call methods onCancellationTerms.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the cancellation quote.
- Parameters:
tags- The tags assigned to the cancellation quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the cancellation quote.
- Parameters:
tags- The tags assigned to the cancellation quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the cancellation quote.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-