Interface RegisterSourceEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RegisterSourceEndpointRequest.Builder,,RegisterSourceEndpointRequest> MediaConnectRequest.Builder,SdkBuilder<RegisterSourceEndpointRequest.Builder,,RegisterSourceEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterSourceEndpointRequest
@Mutable
@NotThreadSafe
public static interface RegisterSourceEndpointRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<RegisterSourceEndpointRequest.Builder,RegisterSourceEndpointRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.configuration(Consumer<SourceEndpointConfiguration.Builder> configuration) The configuration settings for the source endpoint.configuration(SourceEndpointConfiguration configuration) The configuration settings for the source endpoint.description(String description) A description to help you identify the source endpoint.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionName(String regionName) The name of the Amazon Web Services Region in which to register the source endpoint.The tags to apply to the source endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
regionName
The name of the Amazon Web Services Region in which to register the source endpoint. Defaults to the current region if not specified.
- Parameters:
regionName- The name of the Amazon Web Services Region in which to register the source endpoint. Defaults to the current region if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description to help you identify the source endpoint.
- Parameters:
description- A description to help you identify the source endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
The configuration settings for the source endpoint.
- Parameters:
configuration- The configuration settings for the source endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default RegisterSourceEndpointRequest.Builder configuration(Consumer<SourceEndpointConfiguration.Builder> configuration) The configuration settings for the source endpoint.
This is a convenience method that creates an instance of theSourceEndpointConfiguration.Builderavoiding the need to create one manually viaSourceEndpointConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(SourceEndpointConfiguration).- Parameters:
configuration- a consumer that will call methods onSourceEndpointConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to apply to the source endpoint. Each tag is a key-value pair.
- Parameters:
tags- The tags to apply to the source endpoint. Each tag is a key-value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If this token matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RegisterSourceEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RegisterSourceEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-