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