Interface BatchGetSourceEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetSourceEndpointResponse.Builder,,BatchGetSourceEndpointResponse> MediaConnectResponse.Builder,SdkBuilder<BatchGetSourceEndpointResponse.Builder,,BatchGetSourceEndpointResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetSourceEndpointResponse
@Mutable
@NotThreadSafe
public static interface BatchGetSourceEndpointResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<BatchGetSourceEndpointResponse.Builder,BatchGetSourceEndpointResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<BatchGetSourceEndpointError> errors) The errors for any source endpoints that MediaConnect couldn't retrieve.errors(Consumer<BatchGetSourceEndpointError.Builder>... errors) The errors for any source endpoints that MediaConnect couldn't retrieve.errors(BatchGetSourceEndpointError... errors) The errors for any source endpoints that MediaConnect couldn't retrieve.sourceEndpoints(Collection<SourceEndpoint> sourceEndpoints) The source endpoints that MediaConnect successfully retrieved.sourceEndpoints(Consumer<SourceEndpoint.Builder>... sourceEndpoints) The source endpoints that MediaConnect successfully retrieved.sourceEndpoints(SourceEndpoint... sourceEndpoints) The source endpoints that MediaConnect successfully retrieved.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
-
sourceEndpoints
The source endpoints that MediaConnect successfully retrieved.
- Parameters:
sourceEndpoints- The source endpoints that MediaConnect successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpoints
The source endpoints that MediaConnect successfully retrieved.
- Parameters:
sourceEndpoints- The source endpoints that MediaConnect successfully retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEndpoints
BatchGetSourceEndpointResponse.Builder sourceEndpoints(Consumer<SourceEndpoint.Builder>... sourceEndpoints) The source endpoints that MediaConnect successfully retrieved.
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 tosourceEndpoints(List<SourceEndpoint>).- Parameters:
sourceEndpoints- 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:
-
errors
The errors for any source endpoints that MediaConnect couldn't retrieve.
- Parameters:
errors- The errors for any source endpoints that MediaConnect couldn't retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
The errors for any source endpoints that MediaConnect couldn't retrieve.
- Parameters:
errors- The errors for any source endpoints that MediaConnect couldn't retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchGetSourceEndpointResponse.Builder errors(Consumer<BatchGetSourceEndpointError.Builder>... errors) The errors for any source endpoints that MediaConnect couldn't retrieve.
This is a convenience method that creates an instance of theBatchGetSourceEndpointError.Builderavoiding the need to create one manually viaBatchGetSourceEndpointError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<BatchGetSourceEndpointError>).- Parameters:
errors- a consumer that will call methods onBatchGetSourceEndpointError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-