Class StorageBucketAccessControl.Builder

    • Method Detail

      • 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​(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
      • 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