Interface RegisterDestinationEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterDestinationEndpointResponse.Builder,,RegisterDestinationEndpointResponse> MediaConnectResponse.Builder,SdkBuilder<RegisterDestinationEndpointResponse.Builder,,RegisterDestinationEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterDestinationEndpointResponse
@Mutable
@NotThreadSafe
public static interface RegisterDestinationEndpointResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<RegisterDestinationEndpointResponse.Builder,RegisterDestinationEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationEndpoint(Consumer<DestinationEndpoint.Builder> destinationEndpoint) The details of the destination endpoint that was registered.destinationEndpoint(DestinationEndpoint destinationEndpoint) The details of the destination endpoint that was registered.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
RegisterDestinationEndpointResponse.Builder destinationEndpoint(DestinationEndpoint destinationEndpoint) The details of the destination endpoint that was registered.
- Parameters:
destinationEndpoint- The details of the destination endpoint that was registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationEndpoint
default RegisterDestinationEndpointResponse.Builder destinationEndpoint(Consumer<DestinationEndpoint.Builder> destinationEndpoint) The details of the destination endpoint that was registered.
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:
-