Interface DisassociateMacSecKeyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DisassociateMacSecKeyResponse.Builder,
,DisassociateMacSecKeyResponse> DirectConnectResponse.Builder
,SdkBuilder<DisassociateMacSecKeyResponse.Builder,
,DisassociateMacSecKeyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DisassociateMacSecKeyResponse
@Mutable
@NotThreadSafe
public static interface DisassociateMacSecKeyResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DisassociateMacSecKeyResponse.Builder,DisassociateMacSecKeyResponse>
-
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 no longer associated with the dedicated connection.macSecKeys
(Consumer<MacSecKey.Builder>... macSecKeys) The MAC Security (MACsec) security keys no longer associated with the dedicated connection.macSecKeys
(MacSecKey... macSecKeys) The MAC Security (MACsec) security keys no longer associated with the dedicated connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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 no longer associated with the dedicated connection.
- Parameters:
macSecKeys
- The MAC Security (MACsec) security keys no longer 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 no longer associated with the dedicated connection.
- Parameters:
macSecKeys
- The MAC Security (MACsec) security keys no longer 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 no longer associated with the dedicated connection.
This is a convenience method that creates an instance of theMacSecKey.Builder
avoiding the need to create one manually viaMacSecKey.builder()
.When the
Consumer
completes,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:
-