Class CfnLinkMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.networkmanager.mixins.CfnLinkMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLinkMixinProps>
- Enclosing interface:
CfnLinkMixinProps
@Stability(Stable)
public static final class CfnLinkMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLinkMixinProps>
A builder for
CfnLinkMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbandwidth(IResolvable bandwidth) Sets the value ofCfnLinkMixinProps.getBandwidth()bandwidth(CfnLinkPropsMixin.BandwidthProperty bandwidth) Sets the value ofCfnLinkMixinProps.getBandwidth()build()Builds the configured instance.description(String description) Sets the value ofCfnLinkMixinProps.getDescription()globalNetworkId(String globalNetworkId) Sets the value ofCfnLinkMixinProps.getGlobalNetworkId()Sets the value ofCfnLinkMixinProps.getProvider()Sets the value ofCfnLinkMixinProps.getSiteId()Sets the value ofCfnLinkMixinProps.getTags()Sets the value ofCfnLinkMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bandwidth
Sets the value ofCfnLinkMixinProps.getBandwidth()- Parameters:
bandwidth- The bandwidth for the link.- Returns:
this
-
bandwidth
@Stability(Stable) public CfnLinkMixinProps.Builder bandwidth(CfnLinkPropsMixin.BandwidthProperty bandwidth) Sets the value ofCfnLinkMixinProps.getBandwidth()- Parameters:
bandwidth- The bandwidth for the link.- Returns:
this
-
description
Sets the value ofCfnLinkMixinProps.getDescription()- Parameters:
description- A description of the link. Constraints: Maximum length of 256 characters.- Returns:
this
-
globalNetworkId
Sets the value ofCfnLinkMixinProps.getGlobalNetworkId()- Parameters:
globalNetworkId- The ID of the global network.- Returns:
this
-
provider
Sets the value ofCfnLinkMixinProps.getProvider()- Parameters:
provider- The provider of the link. Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^- Returns:
this
-
siteId
Sets the value ofCfnLinkMixinProps.getSiteId()- Parameters:
siteId- The ID of the site.- Returns:
this
-
tags
Sets the value ofCfnLinkMixinProps.getTags()- Parameters:
tags- The tags for the link.- Returns:
this
-
type
Sets the value ofCfnLinkMixinProps.getType()- Parameters:
type- The type of the link. Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLinkMixinProps>- Returns:
- a new instance of
CfnLinkMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-