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