Interface AssociateMacSecKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateMacSecKeyRequest.Builder,AssociateMacSecKeyRequest>,DirectConnectRequest.Builder,SdkBuilder<AssociateMacSecKeyRequest.Builder,AssociateMacSecKeyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AssociateMacSecKeyRequest
public static interface AssociateMacSecKeyRequest.Builder extends DirectConnectRequest.Builder, SdkPojo, CopyableBuilder<AssociateMacSecKeyRequest.Builder,AssociateMacSecKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateMacSecKeyRequest.Buildercak(String cak)The MAC Security (MACsec) CAK to associate with the dedicated connection.AssociateMacSecKeyRequest.Builderckn(String ckn)The MAC Security (MACsec) CKN to associate with the dedicated connection.AssociateMacSecKeyRequest.BuilderconnectionId(String connectionId)The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).AssociateMacSecKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateMacSecKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AssociateMacSecKeyRequest.BuildersecretARN(String secretARN)The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
connectionId
AssociateMacSecKeyRequest.Builder connectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections or DescribeLags to retrieve connection ID.
- Parameters:
connectionId- The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).You can use DescribeConnections or DescribeLags to retrieve connection ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretARN
AssociateMacSecKeyRequest.Builder secretARN(String secretARN)
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated 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 dedicated 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ckn
AssociateMacSecKeyRequest.Builder ckn(String ckn)
The MAC Security (MACsec) CKN to associate with the dedicated 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 dedicated 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cak
AssociateMacSecKeyRequest.Builder cak(String cak)
The MAC Security (MACsec) CAK to associate with the dedicated 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 dedicated 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateMacSecKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateMacSecKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-