Interface CreateCapacityReservationDateChangeQuoteResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateCapacityReservationDateChangeQuoteResponse.Builder,,CreateCapacityReservationDateChangeQuoteResponse> Ec2Response.Builder,SdkBuilder<CreateCapacityReservationDateChangeQuoteResponse.Builder,,CreateCapacityReservationDateChangeQuoteResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateCapacityReservationDateChangeQuoteResponse
@Mutable
@NotThreadSafe
public static interface CreateCapacityReservationDateChangeQuoteResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateCapacityReservationDateChangeQuoteResponse.Builder,CreateCapacityReservationDateChangeQuoteResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncapacityReservationModificationQuote(Consumer<CapacityReservationModificationQuote.Builder> capacityReservationModificationQuote) Information about the Capacity Reservation date change quote.capacityReservationModificationQuote(CapacityReservationModificationQuote capacityReservationModificationQuote) Information about the Capacity Reservation date change quote.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
capacityReservationModificationQuote
CreateCapacityReservationDateChangeQuoteResponse.Builder capacityReservationModificationQuote(CapacityReservationModificationQuote capacityReservationModificationQuote) Information about the Capacity Reservation date change quote.
- Parameters:
capacityReservationModificationQuote- Information about the Capacity Reservation date change quote.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityReservationModificationQuote
default CreateCapacityReservationDateChangeQuoteResponse.Builder capacityReservationModificationQuote(Consumer<CapacityReservationModificationQuote.Builder> capacityReservationModificationQuote) Information about the Capacity Reservation date change quote.
This is a convenience method that creates an instance of theCapacityReservationModificationQuote.Builderavoiding the need to create one manually viaCapacityReservationModificationQuote.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityReservationModificationQuote(CapacityReservationModificationQuote).- Parameters:
capacityReservationModificationQuote- a consumer that will call methods onCapacityReservationModificationQuote.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-