Interface DisassociateMacSecKeyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateMacSecKeyResponse.Builder,DisassociateMacSecKeyResponse>,DirectConnectResponse.Builder,SdkBuilder<DisassociateMacSecKeyResponse.Builder,DisassociateMacSecKeyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisassociateMacSecKeyResponse
public static interface DisassociateMacSecKeyResponse.Builder extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<DisassociateMacSecKeyResponse.Builder,DisassociateMacSecKeyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisassociateMacSecKeyResponse.BuilderconnectionId(String connectionId)The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).DisassociateMacSecKeyResponse.BuildermacSecKeys(Collection<MacSecKey> macSecKeys)The MAC Security (MACsec) security keys no longer associated with the dedicated connection.DisassociateMacSecKeyResponse.BuildermacSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)The MAC Security (MACsec) security keys no longer associated with the dedicated connection.DisassociateMacSecKeyResponse.BuildermacSecKeys(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
connectionId
DisassociateMacSecKeyResponse.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
DisassociateMacSecKeyResponse.Builder macSecKeys(Collection<MacSecKey> 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
DisassociateMacSecKeyResponse.Builder macSecKeys(MacSecKey... 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
DisassociateMacSecKeyResponse.Builder macSecKeys(Consumer<MacSecKey.Builder>... 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.Builderavoiding the need to create one manually viaMacSecKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#macSecKeys(List.) - 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:
#macSecKeys(java.util.Collection)
-
-