Class CfnConnection.Builder
java.lang.Object
software.amazon.awscdk.services.directconnect.CfnConnection.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnection>
- Enclosing class:
CfnConnection
@Stability(Stable)
public static final class CfnConnection.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnection>
A fluent builder for
CfnConnection.-
Method Summary
Modifier and TypeMethodDescriptionThe bandwidth of the connection.build()connectionName(String connectionName) The name of the connection.static CfnConnection.BuilderThe location of the connection.providerName(String providerName) The name of the service provider associated with the requested connection.requestMacSec(Boolean requestMacSec) Indicates whether you want the connection to support MAC Security (MACsec).requestMacSec(IResolvable requestMacSec) Indicates whether you want the connection to support MAC Security (MACsec).The tags associated with the connection.
-
Method Details
-
create
@Stability(Stable) public static CfnConnection.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnection.Builder.
-
bandwidth
The bandwidth of the connection.- Parameters:
bandwidth- The bandwidth of the connection. This parameter is required.- Returns:
this- See Also:
-
connectionName
The name of the connection.- Parameters:
connectionName- The name of the connection. This parameter is required.- Returns:
this- See Also:
-
location
The location of the connection.- Parameters:
location- The location of the connection. This parameter is required.- Returns:
this- See Also:
-
lagId
- Parameters:
lagId- This parameter is required.- Returns:
this- See Also:
-
lagId
- Parameters:
lagId- This parameter is required.- Returns:
this- See Also:
-
providerName
The name of the service provider associated with the requested connection.- Parameters:
providerName- The name of the service provider associated with the requested connection. This parameter is required.- Returns:
this- See Also:
-
requestMacSec
Indicates whether you want the connection to support MAC Security (MACsec).- Parameters:
requestMacSec- Indicates whether you want the connection to support MAC Security (MACsec). This parameter is required.- Returns:
this- See Also:
-
requestMacSec
Indicates whether you want the connection to support MAC Security (MACsec).- Parameters:
requestMacSec- Indicates whether you want the connection to support MAC Security (MACsec). This parameter is required.- Returns:
this- See Also:
-
tags
The tags associated with the connection.- Parameters:
tags- The tags associated with the connection. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnection>- Returns:
- a newly built instance of
CfnConnection.
-