Class NetworkmanagerLinkConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkmanager_link.NetworkmanagerLinkConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkmanagerLinkConfig>
- Enclosing interface:
- NetworkmanagerLinkConfig
@Stability(Stable) public static final class NetworkmanagerLinkConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkmanagerLinkConfig>
A builder forNetworkmanagerLinkConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkmanagerLinkConfig.Builderbandwidth(NetworkmanagerLinkBandwidth bandwidth)Sets the value ofNetworkmanagerLinkConfig.getBandwidth()NetworkmanagerLinkConfigbuild()Builds the configured instance.NetworkmanagerLinkConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()NetworkmanagerLinkConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()NetworkmanagerLinkConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()NetworkmanagerLinkConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()NetworkmanagerLinkConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()NetworkmanagerLinkConfig.Builderdescription(String description)Sets the value ofNetworkmanagerLinkConfig.getDescription()NetworkmanagerLinkConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()NetworkmanagerLinkConfig.BuilderglobalNetworkId(String globalNetworkId)Sets the value ofNetworkmanagerLinkConfig.getGlobalNetworkId()NetworkmanagerLinkConfig.Builderid(String id)Sets the value ofNetworkmanagerLinkConfig.getId()NetworkmanagerLinkConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()NetworkmanagerLinkConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()NetworkmanagerLinkConfig.BuilderproviderName(String providerName)Sets the value ofNetworkmanagerLinkConfig.getProviderName()NetworkmanagerLinkConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()NetworkmanagerLinkConfig.BuildersiteId(String siteId)Sets the value ofNetworkmanagerLinkConfig.getSiteId()NetworkmanagerLinkConfig.Buildertags(Map<String,String> tags)Sets the value ofNetworkmanagerLinkConfig.getTags()NetworkmanagerLinkConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofNetworkmanagerLinkConfig.getTagsAll()NetworkmanagerLinkConfig.Buildertimeouts(NetworkmanagerLinkTimeouts timeouts)Sets the value ofNetworkmanagerLinkConfig.getTimeouts()NetworkmanagerLinkConfig.Buildertype(String type)Sets the value ofNetworkmanagerLinkConfig.getType()
-
-
-
Method Detail
-
bandwidth
@Stability(Stable) public NetworkmanagerLinkConfig.Builder bandwidth(NetworkmanagerLinkBandwidth bandwidth)
Sets the value ofNetworkmanagerLinkConfig.getBandwidth()- Parameters:
bandwidth- bandwidth block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#bandwidth NetworkmanagerLink#bandwidth}- Returns:
this
-
globalNetworkId
@Stability(Stable) public NetworkmanagerLinkConfig.Builder globalNetworkId(String globalNetworkId)
Sets the value ofNetworkmanagerLinkConfig.getGlobalNetworkId()- Parameters:
globalNetworkId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#global_network_id NetworkmanagerLink#global_network_id}. This parameter is required.- Returns:
this
-
siteId
@Stability(Stable) public NetworkmanagerLinkConfig.Builder siteId(String siteId)
Sets the value ofNetworkmanagerLinkConfig.getSiteId()- Parameters:
siteId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#site_id NetworkmanagerLink#site_id}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public NetworkmanagerLinkConfig.Builder description(String description)
Sets the value ofNetworkmanagerLinkConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#description NetworkmanagerLink#description}.- Returns:
this
-
id
@Stability(Stable) public NetworkmanagerLinkConfig.Builder id(String id)
Sets the value ofNetworkmanagerLinkConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#id NetworkmanagerLink#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
providerName
@Stability(Stable) public NetworkmanagerLinkConfig.Builder providerName(String providerName)
Sets the value ofNetworkmanagerLinkConfig.getProviderName()- Parameters:
providerName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#provider_name NetworkmanagerLink#provider_name}.- Returns:
this
-
tags
@Stability(Stable) public NetworkmanagerLinkConfig.Builder tags(Map<String,String> tags)
Sets the value ofNetworkmanagerLinkConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#tags NetworkmanagerLink#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkmanagerLinkConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNetworkmanagerLinkConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#tags_all NetworkmanagerLink#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkmanagerLinkConfig.Builder timeouts(NetworkmanagerLinkTimeouts timeouts)
Sets the value ofNetworkmanagerLinkConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#timeouts NetworkmanagerLink#timeouts}- Returns:
this
-
type
@Stability(Stable) public NetworkmanagerLinkConfig.Builder type(String type)
Sets the value ofNetworkmanagerLinkConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_link#type NetworkmanagerLink#type}.- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public NetworkmanagerLinkConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkmanagerLinkConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkmanagerLinkConfig>- Returns:
- a new instance of
NetworkmanagerLinkConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-