Class VpclatticeServiceNetworkVpcAssociationConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.vpclattice_service_network_vpc_association.VpclatticeServiceNetworkVpcAssociationConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpclatticeServiceNetworkVpcAssociationConfig>
- Enclosing interface:
- VpclatticeServiceNetworkVpcAssociationConfig
@Stability(Stable) public static final class VpclatticeServiceNetworkVpcAssociationConfig.Builder extends Object implements software.amazon.jsii.Builder<VpclatticeServiceNetworkVpcAssociationConfig>
A builder forVpclatticeServiceNetworkVpcAssociationConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
serviceNetworkIdentifier
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder serviceNetworkIdentifier(String serviceNetworkIdentifier)
- Parameters:
serviceNetworkIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#service_network_identifier VpclatticeServiceNetworkVpcAssociation#service_network_identifier}. This parameter is required.- Returns:
this
-
vpcIdentifier
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder vpcIdentifier(String vpcIdentifier)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getVpcIdentifier()- Parameters:
vpcIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#vpc_identifier VpclatticeServiceNetworkVpcAssociation#vpc_identifier}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder id(String id)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#id VpclatticeServiceNetworkVpcAssociation#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
-
securityGroupIds
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder securityGroupIds(List<String> securityGroupIds)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getSecurityGroupIds()- Parameters:
securityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#security_group_ids VpclatticeServiceNetworkVpcAssociation#security_group_ids}.- Returns:
this
-
tags
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder tags(Map<String,String> tags)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#tags VpclatticeServiceNetworkVpcAssociation#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#tags_all VpclatticeServiceNetworkVpcAssociation#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig.Builder timeouts(VpclatticeServiceNetworkVpcAssociationTimeouts timeouts)
Sets the value ofVpclatticeServiceNetworkVpcAssociationConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service_network_vpc_association#timeouts VpclatticeServiceNetworkVpcAssociation#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.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 VpclatticeServiceNetworkVpcAssociationConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VpclatticeServiceNetworkVpcAssociationConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpclatticeServiceNetworkVpcAssociationConfig>- Returns:
- a new instance of
VpclatticeServiceNetworkVpcAssociationConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-