Class CfnConnectionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnConnectionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionMixinProps>
- Enclosing interface:
CfnConnectionMixinProps
@Stability(Stable)
public static final class CfnConnectionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionMixinProps>
A builder for
CfnConnectionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnectionMixinProps.getBandwidth()build()Builds the configured instance.connectionName(String connectionName) Sets the value ofCfnConnectionMixinProps.getConnectionName()Sets the value ofCfnConnectionMixinProps.getLagId()Sets the value ofCfnConnectionMixinProps.getLagId()Sets the value ofCfnConnectionMixinProps.getLocation()providerName(String providerName) Sets the value ofCfnConnectionMixinProps.getProviderName()requestMacSec(Boolean requestMacSec) Sets the value ofCfnConnectionMixinProps.getRequestMacSec()requestMacSec(IResolvable requestMacSec) Sets the value ofCfnConnectionMixinProps.getRequestMacSec()Sets the value ofCfnConnectionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bandwidth
Sets the value ofCfnConnectionMixinProps.getBandwidth()- Parameters:
bandwidth- The bandwidth of the connection.- Returns:
this
-
connectionName
Sets the value ofCfnConnectionMixinProps.getConnectionName()- Parameters:
connectionName- The name of the connection.- Returns:
this
-
lagId
Sets the value ofCfnConnectionMixinProps.getLagId()- Parameters:
lagId- the value to be set.- Returns:
this
-
lagId
Sets the value ofCfnConnectionMixinProps.getLagId()- Parameters:
lagId- the value to be set.- Returns:
this
-
location
Sets the value ofCfnConnectionMixinProps.getLocation()- Parameters:
location- The location of the connection.- Returns:
this
-
providerName
Sets the value ofCfnConnectionMixinProps.getProviderName()- Parameters:
providerName- The name of the service provider associated with the requested connection.- Returns:
this
-
requestMacSec
Sets the value ofCfnConnectionMixinProps.getRequestMacSec()- Parameters:
requestMacSec- Indicates whether you want the connection to support MAC Security (MACsec).- Returns:
this
-
requestMacSec
Sets the value ofCfnConnectionMixinProps.getRequestMacSec()- Parameters:
requestMacSec- Indicates whether you want the connection to support MAC Security (MACsec).- Returns:
this
-
tags
Sets the value ofCfnConnectionMixinProps.getTags()- Parameters:
tags- The tags associated with the connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionMixinProps>- Returns:
- a new instance of
CfnConnectionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-