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