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 Details

    • 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

      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 ckn and cak request 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 ckn and cak request parameters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 cak request parameter and not use the secretARN request 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 cak request parameter and not use the secretARN request parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 ckn request parameter and not use the secretARN request 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 ckn request parameter and not use the secretARN request parameter.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      AssociateMacSecKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.