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