Class ProjectIamCustomRole.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.project_iam_custom_role.ProjectIamCustomRole.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ProjectIamCustomRole>
- Enclosing class:
- ProjectIamCustomRole
@Stability(Stable) public static final class ProjectIamCustomRole.Builder extends Object implements software.amazon.jsii.Builder<ProjectIamCustomRole>
A fluent builder forProjectIamCustomRole.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectIamCustomRolebuild()ProjectIamCustomRole.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)ProjectIamCustomRole.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)ProjectIamCustomRole.Buildercount(com.hashicorp.cdktf.TerraformCount count)ProjectIamCustomRole.Buildercount(Number count)static ProjectIamCustomRole.Buildercreate(software.constructs.Construct scope, String id)ProjectIamCustomRole.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)ProjectIamCustomRole.Builderdescription(String description)A human-readable description for the role.ProjectIamCustomRole.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)ProjectIamCustomRole.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_iam_custom_role#id ProjectIamCustomRole#id}.ProjectIamCustomRole.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)ProjectIamCustomRole.Builderpermissions(List<String> permissions)The names of the permissions this role grants when bound in an IAM policy.ProjectIamCustomRole.Builderproject(String project)The project that the service account will be created in.ProjectIamCustomRole.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)ProjectIamCustomRole.Builderprovisioners(List<? extends Object> provisioners)ProjectIamCustomRole.BuilderroleId(String roleId)The camel case role id to use for this role.ProjectIamCustomRole.Builderstage(String stage)The current launch stage of the role.ProjectIamCustomRole.Buildertitle(String title)A human-readable title for the role.
-
-
-
Method Detail
-
create
@Stability(Stable) public static ProjectIamCustomRole.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
ProjectIamCustomRole.Builder.
-
connection
@Stability(Experimental) public ProjectIamCustomRole.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public ProjectIamCustomRole.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ProjectIamCustomRole.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public ProjectIamCustomRole.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public ProjectIamCustomRole.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public ProjectIamCustomRole.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public ProjectIamCustomRole.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public ProjectIamCustomRole.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public ProjectIamCustomRole.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
permissions
@Stability(Stable) public ProjectIamCustomRole.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/project_iam_custom_role#permissions ProjectIamCustomRole#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 ProjectIamCustomRole.Builder roleId(String roleId)
The camel case role id to use for this role. Cannot contain - characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_iam_custom_role#role_id ProjectIamCustomRole#role_id}
- Parameters:
roleId- The camel case role id to use for this role. Cannot contain - characters. This parameter is required.- Returns:
this
-
title
@Stability(Stable) public ProjectIamCustomRole.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/project_iam_custom_role#title ProjectIamCustomRole#title}
- Parameters:
title- A human-readable title for the role. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public ProjectIamCustomRole.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/project_iam_custom_role#description ProjectIamCustomRole#description}
- Parameters:
description- A human-readable description for the role. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public ProjectIamCustomRole.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_iam_custom_role#id ProjectIamCustomRole#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/project_iam_custom_role#id ProjectIamCustomRole#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public ProjectIamCustomRole.Builder project(String project)
The project that the service account will be created in. Defaults to the provider project configuration.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/project_iam_custom_role#project ProjectIamCustomRole#project}
- Parameters:
project- The project that the service account will be created in. Defaults to the provider project configuration. This parameter is required.- Returns:
this
-
stage
@Stability(Stable) public ProjectIamCustomRole.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/project_iam_custom_role#stage ProjectIamCustomRole#stage}
- Parameters:
stage- The current launch stage of the role. Defaults to GA. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public ProjectIamCustomRole build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ProjectIamCustomRole>- Returns:
- a newly built instance of
ProjectIamCustomRole.
-
-