Interface AssociateMacSecKeyResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<AssociateMacSecKeyResponse.Builder,AssociateMacSecKeyResponse>, DirectConnectResponse.Builder, SdkBuilder<AssociateMacSecKeyResponse.Builder,AssociateMacSecKeyResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
AssociateMacSecKeyResponse

public static interface AssociateMacSecKeyResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AssociateMacSecKeyResponse.Builder,AssociateMacSecKeyResponse>
  • Method Details

    • connectionId

      AssociateMacSecKeyResponse.Builder connectionId(String connectionId)

      The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

      Parameters:
      connectionId - The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • macSecKeys

      The MAC Security (MACsec) security keys associated with the dedicated connection.

      Parameters:
      macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • macSecKeys

      AssociateMacSecKeyResponse.Builder macSecKeys(MacSecKey... macSecKeys)

      The MAC Security (MACsec) security keys associated with the dedicated connection.

      Parameters:
      macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • macSecKeys

      The MAC Security (MACsec) security keys associated with the dedicated connection.

      This is a convenience method that creates an instance of the MacSecKey.Builder avoiding the need to create one manually via MacSecKey.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to macSecKeys(List<MacSecKey>).

      Parameters:
      macSecKeys - a consumer that will call methods on MacSecKey.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: