Class StorageBucketAccessControl.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_bucket_access_control.StorageBucketAccessControl.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageBucketAccessControl>
- Enclosing class:
- StorageBucketAccessControl
@Stability(Stable) public static final class StorageBucketAccessControl.Builder extends Object implements software.amazon.jsii.Builder<StorageBucketAccessControl>
A fluent builder forStorageBucketAccessControl.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBucketAccessControl.Builderbucket(String bucket)The name of the bucket.StorageBucketAccessControlbuild()StorageBucketAccessControl.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)StorageBucketAccessControl.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)StorageBucketAccessControl.Buildercount(com.hashicorp.cdktf.TerraformCount count)StorageBucketAccessControl.Buildercount(Number count)static StorageBucketAccessControl.Buildercreate(software.constructs.Construct scope, String id)StorageBucketAccessControl.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)StorageBucketAccessControl.Builderentity(String entity)The entity holding the permission, in one of the following forms: user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers Examples: The user liz@example.com would be user-liz@example.com.StorageBucketAccessControl.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)StorageBucketAccessControl.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#id StorageBucketAccessControl#id}.StorageBucketAccessControl.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)StorageBucketAccessControl.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)StorageBucketAccessControl.Builderprovisioners(List<? extends Object> provisioners)StorageBucketAccessControl.Builderrole(String role)The access permission for the entity.StorageBucketAccessControl.Buildertimeouts(StorageBucketAccessControlTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static StorageBucketAccessControl.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
StorageBucketAccessControl.Builder.
-
connection
@Stability(Experimental) public StorageBucketAccessControl.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public StorageBucketAccessControl.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public StorageBucketAccessControl.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public StorageBucketAccessControl.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public StorageBucketAccessControl.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public StorageBucketAccessControl.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public StorageBucketAccessControl.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public StorageBucketAccessControl.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public StorageBucketAccessControl.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
bucket
@Stability(Stable) public StorageBucketAccessControl.Builder bucket(String bucket)
The name of the bucket.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#bucket StorageBucketAccessControl#bucket}
- Parameters:
bucket- The name of the bucket. This parameter is required.- Returns:
this
-
entity
@Stability(Stable) public StorageBucketAccessControl.Builder entity(String entity)
The entity holding the permission, in one of the following forms: user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers Examples: The user liz@example.com would be user-liz@example.com. The group example@googlegroups.com would be group-example@googlegroups.com. To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#entity StorageBucketAccessControl#entity}
- Parameters:
entity- The entity holding the permission, in one of the following forms: user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers Examples: The user liz@example.com would be user-liz@example.com. The group example@googlegroups.com would be group-example@googlegroups.com. To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public StorageBucketAccessControl.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#id StorageBucketAccessControl#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/storage_bucket_access_control#id StorageBucketAccessControl#id}. This parameter is required.- Returns:
this
-
role
@Stability(Stable) public StorageBucketAccessControl.Builder role(String role)
The access permission for the entity. Possible values: ["OWNER", "READER", "WRITER"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#role StorageBucketAccessControl#role}
- Parameters:
role- The access permission for the entity. Possible values: ["OWNER", "READER", "WRITER"]. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public StorageBucketAccessControl.Builder timeouts(StorageBucketAccessControlTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_access_control#timeouts StorageBucketAccessControl#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public StorageBucketAccessControl build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageBucketAccessControl>- Returns:
- a newly built instance of
StorageBucketAccessControl.
-
-