Interface CapacityReservationModificationQuote.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapacityReservationModificationQuote.Builder,,CapacityReservationModificationQuote> SdkBuilder<CapacityReservationModificationQuote.Builder,,CapacityReservationModificationQuote> SdkPojo
- Enclosing class:
CapacityReservationModificationQuote
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationId(String capacityReservationId) The ID of the Capacity Reservation associated with the modification quote.capacityReservationModificationQuoteId(String capacityReservationModificationQuoteId) The ID of the modification quote.createTime(Instant createTime) The date and time at which the modification quote was created.currentConfiguration(Consumer<ModificationQuoteCurrentConfiguration.Builder> currentConfiguration) The configuration that the Capacity Reservation has at the time the quote was generated.currentConfiguration(ModificationQuoteCurrentConfiguration currentConfiguration) The configuration that the Capacity Reservation has at the time the quote was generated.expirationTime(Instant expirationTime) The date and time at which the modification quote expires.modificationTerms(Consumer<ModificationTerms.Builder> modificationTerms) The terms of the modification, including the configuration that the Capacity Reservation will have if you accept them by usingModifyCapacityReservation.modificationTerms(ModificationTerms modificationTerms) The terms of the modification, including the configuration that the Capacity Reservation will have if you accept them by usingModifyCapacityReservation.quoteState(String quoteState) The state of the modification quote itself.quoteState(CapacityReservationModificationQuoteState quoteState) The state of the modification quote itself.tags(Collection<Tag> tags) The tags assigned to the modification quote.tags(Consumer<Tag.Builder>... tags) The tags assigned to the modification quote.The tags assigned to the modification 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
-
capacityReservationModificationQuoteId
CapacityReservationModificationQuote.Builder capacityReservationModificationQuoteId(String capacityReservationModificationQuoteId) The ID of the modification quote.
- Parameters:
capacityReservationModificationQuoteId- The ID of the modification 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 modification quote.
- Parameters:
capacityReservationId- The ID of the Capacity Reservation associated with the modification quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The date and time at which the modification quote was created.
- Parameters:
createTime- The date and time at which the modification 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 modification quote expires.
- Parameters:
expirationTime- The date and time at which the modification quote expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quoteState
The state of the modification quote itself. Possible values are:
-
active- The quote can still be used. -
expired- The quote can no longer be used. A quote becomesexpiredat itsexpirationTime.
- Parameters:
quoteState- The state of the modification quote itself. Possible values are:-
active- The quote can still be used. -
expired- The quote can no longer be used. A quote becomesexpiredat itsexpirationTime.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
quoteState
CapacityReservationModificationQuote.Builder quoteState(CapacityReservationModificationQuoteState quoteState) The state of the modification quote itself. Possible values are:
-
active- The quote can still be used. -
expired- The quote can no longer be used. A quote becomesexpiredat itsexpirationTime.
- Parameters:
quoteState- The state of the modification quote itself. Possible values are:-
active- The quote can still be used. -
expired- The quote can no longer be used. A quote becomesexpiredat itsexpirationTime.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
currentConfiguration
CapacityReservationModificationQuote.Builder currentConfiguration(ModificationQuoteCurrentConfiguration currentConfiguration) The configuration that the Capacity Reservation has at the time the quote was generated.
- Parameters:
currentConfiguration- The configuration that the Capacity Reservation has at the time the quote was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentConfiguration
default CapacityReservationModificationQuote.Builder currentConfiguration(Consumer<ModificationQuoteCurrentConfiguration.Builder> currentConfiguration) The configuration that the Capacity Reservation has at the time the quote was generated.
This is a convenience method that creates an instance of theModificationQuoteCurrentConfiguration.Builderavoiding the need to create one manually viaModificationQuoteCurrentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocurrentConfiguration(ModificationQuoteCurrentConfiguration).- Parameters:
currentConfiguration- a consumer that will call methods onModificationQuoteCurrentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modificationTerms
The terms of the modification, including the configuration that the Capacity Reservation will have if you accept them by using
ModifyCapacityReservation.- Parameters:
modificationTerms- The terms of the modification, including the configuration that the Capacity Reservation will have if you accept them by usingModifyCapacityReservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modificationTerms
default CapacityReservationModificationQuote.Builder modificationTerms(Consumer<ModificationTerms.Builder> modificationTerms) The terms of the modification, including the configuration that the Capacity Reservation will have if you accept them by using
This is a convenience method that creates an instance of theModifyCapacityReservation.ModificationTerms.Builderavoiding the need to create one manually viaModificationTerms.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodificationTerms(ModificationTerms).- Parameters:
modificationTerms- a consumer that will call methods onModificationTerms.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the modification quote.
- Parameters:
tags- The tags assigned to the modification quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the modification quote.
- Parameters:
tags- The tags assigned to the modification quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the modification 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:
-