Class VpclatticeServiceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.vpclattice_service.VpclatticeServiceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpclatticeServiceConfig>
- Enclosing interface:
- VpclatticeServiceConfig
@Stability(Stable) public static final class VpclatticeServiceConfig.Builder extends Object implements software.amazon.jsii.Builder<VpclatticeServiceConfig>
A builder forVpclatticeServiceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpclatticeServiceConfig.BuilderauthType(String authType)Sets the value ofVpclatticeServiceConfig.getAuthType()VpclatticeServiceConfigbuild()Builds the configured instance.VpclatticeServiceConfig.BuildercertificateArn(String certificateArn)Sets the value ofVpclatticeServiceConfig.getCertificateArn()VpclatticeServiceConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VpclatticeServiceConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()VpclatticeServiceConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()VpclatticeServiceConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()VpclatticeServiceConfig.BuildercustomDomainName(String customDomainName)Sets the value ofVpclatticeServiceConfig.getCustomDomainName()VpclatticeServiceConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()VpclatticeServiceConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()VpclatticeServiceConfig.Builderid(String id)Sets the value ofVpclatticeServiceConfig.getId()VpclatticeServiceConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()VpclatticeServiceConfig.Buildername(String name)Sets the value ofVpclatticeServiceConfig.getName()VpclatticeServiceConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()VpclatticeServiceConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()VpclatticeServiceConfig.Buildertags(Map<String,String> tags)Sets the value ofVpclatticeServiceConfig.getTags()VpclatticeServiceConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofVpclatticeServiceConfig.getTagsAll()VpclatticeServiceConfig.Buildertimeouts(VpclatticeServiceTimeouts timeouts)Sets the value ofVpclatticeServiceConfig.getTimeouts()
-
-
-
Method Detail
-
name
@Stability(Stable) public VpclatticeServiceConfig.Builder name(String name)
Sets the value ofVpclatticeServiceConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#name VpclatticeService#name}. This parameter is required.- Returns:
this
-
authType
@Stability(Stable) public VpclatticeServiceConfig.Builder authType(String authType)
Sets the value ofVpclatticeServiceConfig.getAuthType()- Parameters:
authType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#auth_type VpclatticeService#auth_type}.- Returns:
this
-
certificateArn
@Stability(Stable) public VpclatticeServiceConfig.Builder certificateArn(String certificateArn)
Sets the value ofVpclatticeServiceConfig.getCertificateArn()- Parameters:
certificateArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#certificate_arn VpclatticeService#certificate_arn}.- Returns:
this
-
customDomainName
@Stability(Stable) public VpclatticeServiceConfig.Builder customDomainName(String customDomainName)
Sets the value ofVpclatticeServiceConfig.getCustomDomainName()- Parameters:
customDomainName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#custom_domain_name VpclatticeService#custom_domain_name}.- Returns:
this
-
id
@Stability(Stable) public VpclatticeServiceConfig.Builder id(String id)
Sets the value ofVpclatticeServiceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#id VpclatticeService#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 VpclatticeServiceConfig.Builder tags(Map<String,String> tags)
Sets the value ofVpclatticeServiceConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#tags VpclatticeService#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public VpclatticeServiceConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofVpclatticeServiceConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#tags_all VpclatticeService#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public VpclatticeServiceConfig.Builder timeouts(VpclatticeServiceTimeouts timeouts)
Sets the value ofVpclatticeServiceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpclattice_service#timeouts VpclatticeService#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public VpclatticeServiceConfig.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 VpclatticeServiceConfig.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 VpclatticeServiceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public VpclatticeServiceConfig.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 VpclatticeServiceConfig.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 VpclatticeServiceConfig.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 VpclatticeServiceConfig.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 VpclatticeServiceConfig.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 VpclatticeServiceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public VpclatticeServiceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpclatticeServiceConfig>- Returns:
- a new instance of
VpclatticeServiceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-