Class NetworkmanagerDeviceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkmanager_device.NetworkmanagerDeviceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkmanagerDeviceConfig>
- Enclosing interface:
- NetworkmanagerDeviceConfig
@Stability(Stable) public static final class NetworkmanagerDeviceConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkmanagerDeviceConfig>
A builder forNetworkmanagerDeviceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
globalNetworkId
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder globalNetworkId(String globalNetworkId)
Sets the value ofNetworkmanagerDeviceConfig.getGlobalNetworkId()- Parameters:
globalNetworkId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#global_network_id NetworkmanagerDevice#global_network_id}. This parameter is required.- Returns:
this
-
awsLocation
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder awsLocation(NetworkmanagerDeviceAwsLocation awsLocation)
Sets the value ofNetworkmanagerDeviceConfig.getAwsLocation()- Parameters:
awsLocation- aws_location block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#aws_location NetworkmanagerDevice#aws_location}- Returns:
this
-
description
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder description(String description)
Sets the value ofNetworkmanagerDeviceConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#description NetworkmanagerDevice#description}.- Returns:
this
-
id
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder id(String id)
Sets the value ofNetworkmanagerDeviceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#id NetworkmanagerDevice#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
-
location
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder location(NetworkmanagerDeviceLocation location)
Sets the value ofNetworkmanagerDeviceConfig.getLocation()- Parameters:
location- location block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#location NetworkmanagerDevice#location}- Returns:
this
-
model
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder model(String model)
Sets the value ofNetworkmanagerDeviceConfig.getModel()- Parameters:
model- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#model NetworkmanagerDevice#model}.- Returns:
this
-
serialNumber
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder serialNumber(String serialNumber)
Sets the value ofNetworkmanagerDeviceConfig.getSerialNumber()- Parameters:
serialNumber- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#serial_number NetworkmanagerDevice#serial_number}.- Returns:
this
-
siteId
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder siteId(String siteId)
Sets the value ofNetworkmanagerDeviceConfig.getSiteId()- Parameters:
siteId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#site_id NetworkmanagerDevice#site_id}.- Returns:
this
-
tags
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder tags(Map<String,String> tags)
Sets the value ofNetworkmanagerDeviceConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#tags NetworkmanagerDevice#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNetworkmanagerDeviceConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#tags_all NetworkmanagerDevice#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder timeouts(NetworkmanagerDeviceTimeouts timeouts)
Sets the value ofNetworkmanagerDeviceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#timeouts NetworkmanagerDevice#timeouts}- Returns:
this
-
type
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder type(String type)
Sets the value ofNetworkmanagerDeviceConfig.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#type NetworkmanagerDevice#type}.- Returns:
this
-
vendor
@Stability(Stable) public NetworkmanagerDeviceConfig.Builder vendor(String vendor)
Sets the value ofNetworkmanagerDeviceConfig.getVendor()- Parameters:
vendor- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_device#vendor NetworkmanagerDevice#vendor}.- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.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 NetworkmanagerDeviceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkmanagerDeviceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkmanagerDeviceConfig>- Returns:
- a new instance of
NetworkmanagerDeviceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-