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.Builder
reservation
(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
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaReservation.builder()
.When the
Consumer
completes,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:
-