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