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 Summary
Modifier and TypeMethodDescriptionconnectionId(String connectionId) The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).macSecKeys(Collection<MacSecKey> macSecKeys) The MAC Security (MACsec) security keys associated with the dedicated connection.macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys) The MAC Security (MACsec) security keys associated with the dedicated connection.macSecKeys(MacSecKey... macSecKeys) The MAC Security (MACsec) security keys associated with the dedicated connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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 theMacSecKey.Builderavoiding the need to create one manually viaMacSecKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomacSecKeys(List<MacSecKey>).- Parameters:
macSecKeys- a consumer that will call methods onMacSecKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-