Interface PurchaseOfferingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PurchaseOfferingResponse.Builder,,PurchaseOfferingResponse> MediaConnectResponse.Builder,SdkBuilder<PurchaseOfferingResponse.Builder,,PurchaseOfferingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PurchaseOfferingResponse
@Mutable
@NotThreadSafe
public static interface PurchaseOfferingResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<PurchaseOfferingResponse.Builder,PurchaseOfferingResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PurchaseOfferingResponse.Builderreservation(Consumer<Reservation.Builder> reservation) The details of the reservation that you just created when you purchased the offering.reservation(Reservation reservation) The details of the reservation that you just created when you purchased the offering.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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
-
reservation
The details of the reservation that you just created when you purchased the offering.
- Parameters:
reservation- The details of the reservation that you just created when you purchased the offering.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservation
The details of the reservation that you just created when you purchased the offering.
This is a convenience method that creates an instance of theReservation.Builderavoiding the need to create one manually viaReservation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreservation(Reservation).- Parameters:
reservation- a consumer that will call methods onReservation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-