Class StorageObjectAccessControl.Builder

    • Method Detail

      • connection

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public StorageObjectAccessControl.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • bucket

        @Stability(Stable)
        public StorageObjectAccessControl.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_object_access_control#bucket StorageObjectAccessControl#bucket}

        Parameters:
        bucket - The name of the bucket. This parameter is required.
        Returns:
        this
      • entity

        @Stability(Stable)
        public StorageObjectAccessControl.Builder entity​(String entity)
        The entity holding the permission, in one of the following forms: * user-{{userId}} * user-{{email}} (such as "user-liz@example.com") * group-{{groupId}} * group-{{email}} (such as "group-example@googlegroups.com") * domain-{{domain}} (such as "domain-example.com") * project-team-{{projectId}} * allUsers * allAuthenticatedUsers.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_object_access_control#entity StorageObjectAccessControl#entity}

        Parameters:
        entity - The entity holding the permission, in one of the following forms: * user-{{userId}} * user-{{email}} (such as "user-liz@example.com") * group-{{groupId}} * group-{{email}} (such as "group-example@googlegroups.com") * domain-{{domain}} (such as "domain-example.com") * project-team-{{projectId}} * allUsers * allAuthenticatedUsers. This parameter is required.
        Returns:
        this
      • object

        @Stability(Stable)
        public StorageObjectAccessControl.Builder object​(String object)
        The name of the object to apply the access control to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_object_access_control#object StorageObjectAccessControl#object}

        Parameters:
        object - The name of the object to apply the access control to. This parameter is required.
        Returns:
        this
      • role

        @Stability(Stable)
        public StorageObjectAccessControl.Builder role​(String role)
        The access permission for the entity. Possible values: ["OWNER", "READER"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_object_access_control#role StorageObjectAccessControl#role}

        Parameters:
        role - The access permission for the entity. Possible values: ["OWNER", "READER"]. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public StorageObjectAccessControl.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_object_access_control#id StorageObjectAccessControl#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_object_access_control#id StorageObjectAccessControl#id}. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public StorageObjectAccessControl.Builder timeouts​(StorageObjectAccessControlTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_object_access_control#timeouts StorageObjectAccessControl#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this