Interface DescribeReservationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeReservationResponse.Builder,,DescribeReservationResponse> MediaConnectResponse.Builder,SdkBuilder<DescribeReservationResponse.Builder,,DescribeReservationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeReservationResponse
public static interface DescribeReservationResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeReservationResponse.Builder,DescribeReservationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionreservation(Consumer<Reservation.Builder> reservation) Sets the value of the Reservation property for this object.reservation(Reservation reservation) Sets the value of the Reservation property for this object.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
reservation
Sets the value of the Reservation property for this object.- Parameters:
reservation- The new value for the Reservation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reservation
Sets the value of the Reservation property for this object. 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:
-