Class ResourcegroupsGroupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.resourcegroups_group.ResourcegroupsGroupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResourcegroupsGroupConfig>
- Enclosing interface:
- ResourcegroupsGroupConfig
@Stability(Stable) public static final class ResourcegroupsGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<ResourcegroupsGroupConfig>
A builder forResourcegroupsGroupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourcegroupsGroupConfigbuild()Builds the configured instance.ResourcegroupsGroupConfig.Builderconfiguration(com.hashicorp.cdktf.IResolvable configuration)Sets the value ofResourcegroupsGroupConfig.getConfiguration()ResourcegroupsGroupConfig.Builderconfiguration(List<? extends ResourcegroupsGroupConfiguration> configuration)Sets the value ofResourcegroupsGroupConfig.getConfiguration()ResourcegroupsGroupConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ResourcegroupsGroupConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()ResourcegroupsGroupConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()ResourcegroupsGroupConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()ResourcegroupsGroupConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()ResourcegroupsGroupConfig.Builderdescription(String description)Sets the value ofResourcegroupsGroupConfig.getDescription()ResourcegroupsGroupConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()ResourcegroupsGroupConfig.Builderid(String id)Sets the value ofResourcegroupsGroupConfig.getId()ResourcegroupsGroupConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()ResourcegroupsGroupConfig.Buildername(String name)Sets the value ofResourcegroupsGroupConfig.getName()ResourcegroupsGroupConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()ResourcegroupsGroupConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()ResourcegroupsGroupConfig.BuilderresourceQuery(ResourcegroupsGroupResourceQuery resourceQuery)Sets the value ofResourcegroupsGroupConfig.getResourceQuery()ResourcegroupsGroupConfig.Buildertags(Map<String,String> tags)Sets the value ofResourcegroupsGroupConfig.getTags()ResourcegroupsGroupConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofResourcegroupsGroupConfig.getTagsAll()ResourcegroupsGroupConfig.Buildertimeouts(ResourcegroupsGroupTimeouts timeouts)Sets the value ofResourcegroupsGroupConfig.getTimeouts()
-
-
-
Method Detail
-
name
@Stability(Stable) public ResourcegroupsGroupConfig.Builder name(String name)
Sets the value ofResourcegroupsGroupConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#name ResourcegroupsGroup#name}. This parameter is required.- Returns:
this
-
configuration
@Stability(Stable) public ResourcegroupsGroupConfig.Builder configuration(com.hashicorp.cdktf.IResolvable configuration)
Sets the value ofResourcegroupsGroupConfig.getConfiguration()- Parameters:
configuration- configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#configuration ResourcegroupsGroup#configuration}- Returns:
this
-
configuration
@Stability(Stable) public ResourcegroupsGroupConfig.Builder configuration(List<? extends ResourcegroupsGroupConfiguration> configuration)
Sets the value ofResourcegroupsGroupConfig.getConfiguration()- Parameters:
configuration- configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#configuration ResourcegroupsGroup#configuration}- Returns:
this
-
description
@Stability(Stable) public ResourcegroupsGroupConfig.Builder description(String description)
Sets the value ofResourcegroupsGroupConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#description ResourcegroupsGroup#description}.- Returns:
this
-
id
@Stability(Stable) public ResourcegroupsGroupConfig.Builder id(String id)
Sets the value ofResourcegroupsGroupConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#id ResourcegroupsGroup#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
-
resourceQuery
@Stability(Stable) public ResourcegroupsGroupConfig.Builder resourceQuery(ResourcegroupsGroupResourceQuery resourceQuery)
Sets the value ofResourcegroupsGroupConfig.getResourceQuery()- Parameters:
resourceQuery- resource_query block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#resource_query ResourcegroupsGroup#resource_query}- Returns:
this
-
tags
@Stability(Stable) public ResourcegroupsGroupConfig.Builder tags(Map<String,String> tags)
Sets the value ofResourcegroupsGroupConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#tags ResourcegroupsGroup#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public ResourcegroupsGroupConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofResourcegroupsGroupConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#tags_all ResourcegroupsGroup#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public ResourcegroupsGroupConfig.Builder timeouts(ResourcegroupsGroupTimeouts timeouts)
Sets the value ofResourcegroupsGroupConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/resourcegroups_group#timeouts ResourcegroupsGroup#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.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 ResourcegroupsGroupConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ResourcegroupsGroupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ResourcegroupsGroupConfig>- Returns:
- a new instance of
ResourcegroupsGroupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-