public static interface AssociateMacSecKeyResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AssociateMacSecKeyResponse.Builder,AssociateMacSecKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
AssociateMacSecKeyResponse.Builder |
connectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
|
AssociateMacSecKeyResponse.Builder |
macSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
|
AssociateMacSecKeyResponse.Builder |
macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
|
AssociateMacSecKeyResponse.Builder |
macSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAssociateMacSecKeyResponse.Builder connectionId(String connectionId)
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
connectionId - The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).AssociateMacSecKeyResponse.Builder macSecKeys(Collection<MacSecKey> macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.AssociateMacSecKeyResponse.Builder macSecKeys(MacSecKey... macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
macSecKeys - The MAC Security (MACsec) security keys associated with the dedicated connection.AssociateMacSecKeyResponse.Builder macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)
The MAC Security (MACsec) security keys associated with the dedicated connection.
This is a convenience method that creates an instance of theMacSecKey.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.
macSecKeys - a consumer that will call methods on
MacSecKey.Builder#macSecKeys(java.util.Collection) Copyright © 2022. All rights reserved.