Interface CreateRouterNetworkInterfaceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRouterNetworkInterfaceRequest.Builder,,CreateRouterNetworkInterfaceRequest> MediaConnectRequest.Builder,SdkBuilder<CreateRouterNetworkInterfaceRequest.Builder,,CreateRouterNetworkInterfaceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRouterNetworkInterfaceRequest
@Mutable
@NotThreadSafe
public static interface CreateRouterNetworkInterfaceRequest.Builder
extends MediaConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateRouterNetworkInterfaceRequest.Builder,CreateRouterNetworkInterfaceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier for the request to ensure idempotency.configuration(Consumer<RouterNetworkInterfaceConfiguration.Builder> configuration) The configuration settings for the router network interface.configuration(RouterNetworkInterfaceConfiguration configuration) The configuration settings for the router network interface.The name of the router network interface.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regionName(String regionName) The AWS Region for the router network interface.Key-value pairs that can be used to tag and organize this router network interface.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
-
name
The name of the router network interface.
- Parameters:
name- The name of the router network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
CreateRouterNetworkInterfaceRequest.Builder configuration(RouterNetworkInterfaceConfiguration configuration) The configuration settings for the router network interface.
- Parameters:
configuration- The configuration settings for the router network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateRouterNetworkInterfaceRequest.Builder configuration(Consumer<RouterNetworkInterfaceConfiguration.Builder> configuration) The configuration settings for the router network interface.
This is a convenience method that creates an instance of theRouterNetworkInterfaceConfiguration.Builderavoiding the need to create one manually viaRouterNetworkInterfaceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(RouterNetworkInterfaceConfiguration).- Parameters:
configuration- a consumer that will call methods onRouterNetworkInterfaceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionName
The AWS Region for the router network interface. Defaults to the current region if not specified.
- Parameters:
regionName- The AWS Region for the router network interface. Defaults to the current region if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to tag and organize this router network interface.
- Parameters:
tags- Key-value pairs that can be used to tag and organize this router network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique identifier for the request to ensure idempotency.
- Parameters:
clientToken- A unique identifier for the request to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRouterNetworkInterfaceRequest.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
CreateRouterNetworkInterfaceRequest.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.
-