Class OrganizationIamCustomRole.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.organization_iam_custom_role.OrganizationIamCustomRole.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OrganizationIamCustomRole>
- Enclosing class:
- OrganizationIamCustomRole
@Stability(Stable) public static final class OrganizationIamCustomRole.Builder extends Object implements software.amazon.jsii.Builder<OrganizationIamCustomRole>
A fluent builder forOrganizationIamCustomRole.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OrganizationIamCustomRolebuild()OrganizationIamCustomRole.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)OrganizationIamCustomRole.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)OrganizationIamCustomRole.Buildercount(com.hashicorp.cdktf.TerraformCount count)OrganizationIamCustomRole.Buildercount(Number count)static OrganizationIamCustomRole.Buildercreate(software.constructs.Construct scope, String id)OrganizationIamCustomRole.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)OrganizationIamCustomRole.Builderdescription(String description)A human-readable description for the role.OrganizationIamCustomRole.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)OrganizationIamCustomRole.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#id OrganizationIamCustomRole#id}.OrganizationIamCustomRole.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)OrganizationIamCustomRole.BuilderorgId(String orgId)The numeric ID of the organization in which you want to create a custom role.OrganizationIamCustomRole.Builderpermissions(List<String> permissions)The names of the permissions this role grants when bound in an IAM policy.OrganizationIamCustomRole.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)OrganizationIamCustomRole.Builderprovisioners(List<? extends Object> provisioners)OrganizationIamCustomRole.BuilderroleId(String roleId)The role id to use for this role.OrganizationIamCustomRole.Builderstage(String stage)The current launch stage of the role.OrganizationIamCustomRole.Buildertitle(String title)A human-readable title for the role.
-
-
-
Method Detail
-
create
@Stability(Stable) public static OrganizationIamCustomRole.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
OrganizationIamCustomRole.Builder.
-
connection
@Stability(Experimental) public OrganizationIamCustomRole.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public OrganizationIamCustomRole.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OrganizationIamCustomRole.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public OrganizationIamCustomRole.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public OrganizationIamCustomRole.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public OrganizationIamCustomRole.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public OrganizationIamCustomRole.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public OrganizationIamCustomRole.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public OrganizationIamCustomRole.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
orgId
@Stability(Stable) public OrganizationIamCustomRole.Builder orgId(String orgId)
The numeric ID of the organization in which you want to create a custom role.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#org_id OrganizationIamCustomRole#org_id}
- Parameters:
orgId- The numeric ID of the organization in which you want to create a custom role. This parameter is required.- Returns:
this
-
permissions
@Stability(Stable) public OrganizationIamCustomRole.Builder permissions(List<String> permissions)
The names of the permissions this role grants when bound in an IAM policy.At least one permission must be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#permissions OrganizationIamCustomRole#permissions}
- Parameters:
permissions- The names of the permissions this role grants when bound in an IAM policy. This parameter is required.- Returns:
this
-
roleId
@Stability(Stable) public OrganizationIamCustomRole.Builder roleId(String roleId)
The role id to use for this role.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#role_id OrganizationIamCustomRole#role_id}
- Parameters:
roleId- The role id to use for this role. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public OrganizationIamCustomRole.Builder title(String title)
A human-readable title for the role.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#title OrganizationIamCustomRole#title}
- Parameters:
title- A human-readable title for the role. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public OrganizationIamCustomRole.Builder description(String description)
A human-readable description for the role.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#description OrganizationIamCustomRole#description}
- Parameters:
description- A human-readable description for the role. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public OrganizationIamCustomRole.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#id OrganizationIamCustomRole#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#id OrganizationIamCustomRole#id}. This parameter is required.- Returns:
this
-
stage
@Stability(Stable) public OrganizationIamCustomRole.Builder stage(String stage)
The current launch stage of the role. Defaults to GA.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/organization_iam_custom_role#stage OrganizationIamCustomRole#stage}
- Parameters:
stage- The current launch stage of the role. Defaults to GA. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public OrganizationIamCustomRole build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OrganizationIamCustomRole>- Returns:
- a newly built instance of
OrganizationIamCustomRole.
-
-