Class NetworkmanagerConnectAttachmentConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.networkmanager_connect_attachment.NetworkmanagerConnectAttachmentConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NetworkmanagerConnectAttachmentConfig>
- Enclosing interface:
- NetworkmanagerConnectAttachmentConfig
@Stability(Stable) public static final class NetworkmanagerConnectAttachmentConfig.Builder extends Object implements software.amazon.jsii.Builder<NetworkmanagerConnectAttachmentConfig>
A builder forNetworkmanagerConnectAttachmentConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
coreNetworkId
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder coreNetworkId(String coreNetworkId)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getCoreNetworkId()- Parameters:
coreNetworkId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#core_network_id NetworkmanagerConnectAttachment#core_network_id}. This parameter is required.- Returns:
this
-
edgeLocation
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder edgeLocation(String edgeLocation)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getEdgeLocation()- Parameters:
edgeLocation- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#edge_location NetworkmanagerConnectAttachment#edge_location}. This parameter is required.- Returns:
this
-
options
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder options(NetworkmanagerConnectAttachmentOptions options)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getOptions()- Parameters:
options- options block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#options NetworkmanagerConnectAttachment#options}- Returns:
this
-
transportAttachmentId
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder transportAttachmentId(String transportAttachmentId)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getTransportAttachmentId()- Parameters:
transportAttachmentId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#transport_attachment_id NetworkmanagerConnectAttachment#transport_attachment_id}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder id(String id)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#id NetworkmanagerConnectAttachment#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
-
tags
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder tags(Map<String,String> tags)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#tags NetworkmanagerConnectAttachment#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#tags_all NetworkmanagerConnectAttachment#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig.Builder timeouts(NetworkmanagerConnectAttachmentTimeouts timeouts)
Sets the value ofNetworkmanagerConnectAttachmentConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/networkmanager_connect_attachment#timeouts NetworkmanagerConnectAttachment#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.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 NetworkmanagerConnectAttachmentConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public NetworkmanagerConnectAttachmentConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NetworkmanagerConnectAttachmentConfig>- Returns:
- a new instance of
NetworkmanagerConnectAttachmentConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-