Class TagsTagValueConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.tags_tag_value.TagsTagValueConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<TagsTagValueConfig>
- Enclosing interface:
- TagsTagValueConfig
@Stability(Stable) public static final class TagsTagValueConfig.Builder extends Object implements software.amazon.jsii.Builder<TagsTagValueConfig>
A builder forTagsTagValueConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagsTagValueConfigbuild()Builds the configured instance.TagsTagValueConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TagsTagValueConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()TagsTagValueConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()TagsTagValueConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()TagsTagValueConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()TagsTagValueConfig.Builderdescription(String description)Sets the value ofTagsTagValueConfig.getDescription()TagsTagValueConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()TagsTagValueConfig.Builderid(String id)Sets the value ofTagsTagValueConfig.getId()TagsTagValueConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()TagsTagValueConfig.Builderparent(String parent)Sets the value ofTagsTagValueConfig.getParent()TagsTagValueConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()TagsTagValueConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()TagsTagValueConfig.BuildershortName(String shortName)Sets the value ofTagsTagValueConfig.getShortName()TagsTagValueConfig.Buildertimeouts(TagsTagValueTimeouts timeouts)Sets the value ofTagsTagValueConfig.getTimeouts()
-
-
-
Method Detail
-
parent
@Stability(Stable) public TagsTagValueConfig.Builder parent(String parent)
Sets the value ofTagsTagValueConfig.getParent()- Parameters:
parent- Input only. The resource name of the new TagValue's parent. Must be of the form tagKeys/{tag_key_id}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tags_tag_value#parent TagsTagValue#parent}- Returns:
this
-
shortName
@Stability(Stable) public TagsTagValueConfig.Builder shortName(String shortName)
Sets the value ofTagsTagValueConfig.getShortName()- Parameters:
shortName- Input only. This parameter is required. User-assigned short name for TagValue. The short name should be unique for TagValues within the same parent TagKey. The short name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tags_tag_value#short_name TagsTagValue#short_name}- Returns:
this
-
description
@Stability(Stable) public TagsTagValueConfig.Builder description(String description)
Sets the value ofTagsTagValueConfig.getDescription()- Parameters:
description- User-assigned description of the TagValue. Must not exceed 256 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tags_tag_value#description TagsTagValue#description}- Returns:
this
-
id
@Stability(Stable) public TagsTagValueConfig.Builder id(String id)
Sets the value ofTagsTagValueConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tags_tag_value#id TagsTagValue#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
-
timeouts
@Stability(Stable) public TagsTagValueConfig.Builder timeouts(TagsTagValueTimeouts timeouts)
Sets the value ofTagsTagValueConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tags_tag_value#timeouts TagsTagValue#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public TagsTagValueConfig.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 TagsTagValueConfig.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 TagsTagValueConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public TagsTagValueConfig.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 TagsTagValueConfig.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 TagsTagValueConfig.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 TagsTagValueConfig.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 TagsTagValueConfig.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 TagsTagValueConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public TagsTagValueConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<TagsTagValueConfig>- Returns:
- a new instance of
TagsTagValueConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-