Interface AssociateMacSecKeyRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<AssociateMacSecKeyRequest.Builder,,- AssociateMacSecKeyRequest> - DirectConnectRequest.Builder,- SdkBuilder<AssociateMacSecKeyRequest.Builder,,- AssociateMacSecKeyRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- AssociateMacSecKeyRequest
- 
Method SummaryModifier and TypeMethodDescriptionThe MAC Security (MACsec) CAK to associate with the connection.The MAC Security (MACsec) CKN to associate with the connection.connectionId(String connectionId) The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
connectionIdThe ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx). You can use DescribeConnections, DescribeInterconnects, or DescribeLags to retrieve connection ID. - Parameters:
- connectionId- The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).- You can use DescribeConnections, DescribeInterconnects, or DescribeLags to retrieve connection ID. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
secretARNThe Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection. You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key. If you use this request parameter, you do not use the cknandcakrequest parameters.- Parameters:
- secretARN- The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the connection.- You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key. - If you use this request parameter, you do not use the - cknand- cakrequest parameters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cknThe MAC Security (MACsec) CKN to associate with the connection. You can create the CKN/CAK pair using an industry standard tool. The valid values are 64 hexadecimal characters (0-9, A-E). If you use this request parameter, you must use the cakrequest parameter and not use thesecretARNrequest parameter.- Parameters:
- ckn- The MAC Security (MACsec) CKN to associate with the connection.- You can create the CKN/CAK pair using an industry standard tool. - The valid values are 64 hexadecimal characters (0-9, A-E). - If you use this request parameter, you must use the - cakrequest parameter and not use the- secretARNrequest parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cakThe MAC Security (MACsec) CAK to associate with the connection. You can create the CKN/CAK pair using an industry standard tool. The valid values are 64 hexadecimal characters (0-9, A-E). If you use this request parameter, you must use the cknrequest parameter and not use thesecretARNrequest parameter.- Parameters:
- cak- The MAC Security (MACsec) CAK to associate with the connection.- You can create the CKN/CAK pair using an industry standard tool. - The valid values are 64 hexadecimal characters (0-9, A-E). - If you use this request parameter, you must use the - cknrequest parameter and not use the- secretARNrequest parameter.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationAssociateMacSecKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAssociateMacSecKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-