public static final class CfnLinkProps.Builder
extends java.lang.Object
CfnLinkProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLinkProps.Builder |
bandwidth(CfnLink.BandwidthProperty bandwidth)
Sets the value of
CfnLinkProps.getBandwidth() |
CfnLinkProps.Builder |
bandwidth(IResolvable bandwidth)
Sets the value of
CfnLinkProps.getBandwidth() |
CfnLinkProps |
build()
Builds the configured instance.
|
CfnLinkProps.Builder |
description(java.lang.String description)
Sets the value of
CfnLinkProps.getDescription() |
CfnLinkProps.Builder |
globalNetworkId(java.lang.String globalNetworkId)
Sets the value of
CfnLinkProps.getGlobalNetworkId() |
CfnLinkProps.Builder |
provider(java.lang.String provider)
Sets the value of
CfnLinkProps.getProvider() |
CfnLinkProps.Builder |
siteId(java.lang.String siteId)
Sets the value of
CfnLinkProps.getSiteId() |
CfnLinkProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnLinkProps.getTags() |
CfnLinkProps.Builder |
type(java.lang.String type)
Sets the value of
CfnLinkProps.getType() |
public CfnLinkProps.Builder bandwidth(IResolvable bandwidth)
CfnLinkProps.getBandwidth()
bandwidth
- The bandwidth for the link. This parameter is required.this
public CfnLinkProps.Builder bandwidth(CfnLink.BandwidthProperty bandwidth)
CfnLinkProps.getBandwidth()
bandwidth
- The bandwidth for the link. This parameter is required.this
public CfnLinkProps.Builder globalNetworkId(java.lang.String globalNetworkId)
CfnLinkProps.getGlobalNetworkId()
globalNetworkId
- The ID of the global network. This parameter is required.this
public CfnLinkProps.Builder siteId(java.lang.String siteId)
CfnLinkProps.getSiteId()
siteId
- The ID of the site. This parameter is required.this
public CfnLinkProps.Builder description(java.lang.String description)
CfnLinkProps.getDescription()
description
- A description of the link.
Constraints: Maximum length of 256 characters.this
public CfnLinkProps.Builder provider(java.lang.String provider)
CfnLinkProps.getProvider()
provider
- The provider of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^this
public CfnLinkProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnLinkProps.getTags()
tags
- The tags for the link.this
public CfnLinkProps.Builder type(java.lang.String type)
CfnLinkProps.getType()
type
- The type of the link.
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^this
public CfnLinkProps build()
CfnLinkProps
java.lang.NullPointerException
- if any required attribute was not provided