Interface UpdateConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateConnectionRequest.Builder,,UpdateConnectionRequest> DirectConnectRequest.Builder,SdkBuilder<UpdateConnectionRequest.Builder,,UpdateConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateConnectionRequest
public static interface UpdateConnectionRequest.Builder
extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateConnectionRequest.Builder,UpdateConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconnectionId(String connectionId) The ID of the dedicated connection.connectionName(String connectionName) The name of the connection.encryptionMode(String encryptionMode) The connection MAC Security (MACsec) encryption mode.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.directconnect.model.DirectConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
connectionId
The ID of the dedicated connection.
You can use DescribeConnections to retrieve the connection ID.
- Parameters:
connectionId- The ID of the dedicated connection.You can use DescribeConnections to retrieve the connection ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionName
The name of the connection.
- Parameters:
connectionName- The name of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
The connection MAC Security (MACsec) encryption mode.
The valid values are
no_encrypt,should_encrypt, andmust_encrypt.- Parameters:
encryptionMode- The connection MAC Security (MACsec) encryption mode.The valid values are
no_encrypt,should_encrypt, andmust_encrypt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateConnectionRequest.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
UpdateConnectionRequest.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.
-