Interface AssociateMacSecKeyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<AssociateMacSecKeyResponse.Builder,,- AssociateMacSecKeyResponse> - DirectConnectResponse.Builder,- SdkBuilder<AssociateMacSecKeyResponse.Builder,,- AssociateMacSecKeyResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- AssociateMacSecKeyResponse
@Mutable
@NotThreadSafe
public static interface AssociateMacSecKeyResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<AssociateMacSecKeyResponse.Builder,AssociateMacSecKeyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionconnectionId(String connectionId) The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).macSecKeys(Collection<MacSecKey> macSecKeys) The MAC Security (MACsec) security keys associated with the connection.macSecKeys(Consumer<MacSecKey.Builder>... macSecKeys) The MAC Security (MACsec) security keys associated with the connection.macSecKeys(MacSecKey... macSecKeys) The MAC Security (MACsec) security keys associated with the connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
connectionIdThe ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx). - Parameters:
- connectionId- The ID of the dedicated connection (dxcon-xxxx), interconnect (dxcon-xxxx), or LAG (dxlag-xxxx).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
macSecKeysThe MAC Security (MACsec) security keys associated with the connection. - Parameters:
- macSecKeys- The MAC Security (MACsec) security keys associated with the connection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
macSecKeysThe MAC Security (MACsec) security keys associated with the connection. - Parameters:
- macSecKeys- The MAC Security (MACsec) security keys associated with the connection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
macSecKeysThe MAC Security (MACsec) security keys associated with the 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 on- MacSecKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-