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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateMacSecKeyResponse.BuilderconnectionId(String connectionId)The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).AssociateMacSecKeyResponse.BuildermacSecKeys(Collection<MacSecKey> macSecKeys)The MAC Security (MACsec) security keys associated with the dedicated connection.AssociateMacSecKeyResponse.BuildermacSecKeys(Consumer<MacSecKey.Builder>... macSecKeys)The MAC Security (MACsec) security keys associated with the dedicated connection.AssociateMacSecKeyResponse.BuildermacSecKeys(MacSecKey... macSecKeys)The MAC Security (MACsec) security keys 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
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
AssociateMacSecKeyResponse.Builder macSecKeys(Collection<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
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
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.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)
-
-