Class CfnLagProps.Builder
java.lang.Object
software.amazon.awscdk.services.directconnect.CfnLagProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLagProps>
- Enclosing interface:
CfnLagProps
@Stability(Stable)
public static final class CfnLagProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLagProps>
A builder for
CfnLagProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionsBandwidth(String connectionsBandwidth) Sets the value ofCfnLagProps.getConnectionsBandwidth()Sets the value ofCfnLagProps.getLagName()Sets the value ofCfnLagProps.getLocation()minimumLinks(Number minimumLinks) Sets the value ofCfnLagProps.getMinimumLinks()providerName(String providerName) Sets the value ofCfnLagProps.getProviderName()requestMacSec(Boolean requestMacSec) Sets the value ofCfnLagProps.getRequestMacSec()requestMacSec(IResolvable requestMacSec) Sets the value ofCfnLagProps.getRequestMacSec()Sets the value ofCfnLagProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionsBandwidth
Sets the value ofCfnLagProps.getConnectionsBandwidth()- Parameters:
connectionsBandwidth- The bandwidth of the individual physical dedicated connections bundled by the LAG. This parameter is required.- Returns:
this
-
lagName
Sets the value ofCfnLagProps.getLagName()- Parameters:
lagName- The name of the LAG. This parameter is required.- Returns:
this
-
location
Sets the value ofCfnLagProps.getLocation()- Parameters:
location- The location for the LAG. This parameter is required.- Returns:
this
-
minimumLinks
Sets the value ofCfnLagProps.getMinimumLinks()- Parameters:
minimumLinks- The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.- Returns:
this
-
providerName
Sets the value ofCfnLagProps.getProviderName()- Parameters:
providerName- The name of the service provider associated with the requested LAG.- Returns:
this
-
requestMacSec
Sets the value ofCfnLagProps.getRequestMacSec()- Parameters:
requestMacSec- Indicates whether you want the LAG to support MAC Security (MACsec).- Returns:
this
-
requestMacSec
Sets the value ofCfnLagProps.getRequestMacSec()- Parameters:
requestMacSec- Indicates whether you want the LAG to support MAC Security (MACsec).- Returns:
this
-
tags
Sets the value ofCfnLagProps.getTags()- Parameters:
tags- The tags associated with the LAG.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLagProps>- Returns:
- a new instance of
CfnLagProps - Throws:
NullPointerException- if any required attribute was not provided
-