Class IamUserConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.iam_user.IamUserConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IamUserConfig>
- Enclosing interface:
- IamUserConfig
@Stability(Stable) public static final class IamUserConfig.Builder extends Object implements software.amazon.jsii.Builder<IamUserConfig>
A builder forIamUserConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IamUserConfigbuild()Builds the configured instance.IamUserConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()IamUserConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()IamUserConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()IamUserConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()IamUserConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()IamUserConfig.BuilderforceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)Sets the value ofIamUserConfig.getForceDestroy()IamUserConfig.BuilderforceDestroy(Boolean forceDestroy)Sets the value ofIamUserConfig.getForceDestroy()IamUserConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()IamUserConfig.Builderid(String id)Sets the value ofIamUserConfig.getId()IamUserConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()IamUserConfig.Buildername(String name)Sets the value ofIamUserConfig.getName()IamUserConfig.Builderpath(String path)Sets the value ofIamUserConfig.getPath()IamUserConfig.BuilderpermissionsBoundary(String permissionsBoundary)Sets the value ofIamUserConfig.getPermissionsBoundary()IamUserConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()IamUserConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()IamUserConfig.Buildertags(Map<String,String> tags)Sets the value ofIamUserConfig.getTags()IamUserConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofIamUserConfig.getTagsAll()
-
-
-
Method Detail
-
name
@Stability(Stable) public IamUserConfig.Builder name(String name)
Sets the value ofIamUserConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#name IamUser#name}. This parameter is required.- Returns:
this
-
forceDestroy
@Stability(Stable) public IamUserConfig.Builder forceDestroy(Boolean forceDestroy)
Sets the value ofIamUserConfig.getForceDestroy()- Parameters:
forceDestroy- Delete user even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#force_destroy IamUser#force_destroy}- Returns:
this
-
forceDestroy
@Stability(Stable) public IamUserConfig.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Sets the value ofIamUserConfig.getForceDestroy()- Parameters:
forceDestroy- Delete user even if it has non-Terraform-managed IAM access keys, login profile or MFA devices. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#force_destroy IamUser#force_destroy}- Returns:
this
-
id
@Stability(Stable) public IamUserConfig.Builder id(String id)
Sets the value ofIamUserConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#id IamUser#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
-
path
@Stability(Stable) public IamUserConfig.Builder path(String path)
Sets the value ofIamUserConfig.getPath()- Parameters:
path- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#path IamUser#path}.- Returns:
this
-
permissionsBoundary
@Stability(Stable) public IamUserConfig.Builder permissionsBoundary(String permissionsBoundary)
Sets the value ofIamUserConfig.getPermissionsBoundary()- Parameters:
permissionsBoundary- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#permissions_boundary IamUser#permissions_boundary}.- Returns:
this
-
tags
@Stability(Stable) public IamUserConfig.Builder tags(Map<String,String> tags)
Sets the value ofIamUserConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#tags IamUser#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public IamUserConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofIamUserConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/iam_user#tags_all IamUser#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public IamUserConfig.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 IamUserConfig.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 IamUserConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public IamUserConfig.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 IamUserConfig.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 IamUserConfig.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 IamUserConfig.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 IamUserConfig.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 IamUserConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public IamUserConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IamUserConfig>- Returns:
- a new instance of
IamUserConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-