Interface GetDestinationEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDestinationEndpointResponse.Builder,,GetDestinationEndpointResponse> MediaConnectResponse.Builder,SdkBuilder<GetDestinationEndpointResponse.Builder,,GetDestinationEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDestinationEndpointResponse
@Mutable
@NotThreadSafe
public static interface GetDestinationEndpointResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<GetDestinationEndpointResponse.Builder,GetDestinationEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationEndpoint(Consumer<DestinationEndpoint.Builder> destinationEndpoint) The details of the destination endpoint.destinationEndpoint(DestinationEndpoint destinationEndpoint) The details of the destination endpoint.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
-
destinationEndpoint
The details of the destination endpoint.
- Parameters:
destinationEndpoint- The details of the destination endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEndpoint
default GetDestinationEndpointResponse.Builder destinationEndpoint(Consumer<DestinationEndpoint.Builder> destinationEndpoint) The details of the destination endpoint.
This is a convenience method that creates an instance of theDestinationEndpoint.Builderavoiding the need to create one manually viaDestinationEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationEndpoint(DestinationEndpoint).- Parameters:
destinationEndpoint- a consumer that will call methods onDestinationEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-