Class OrganizationIamCustomRole.Builder

    • Method Detail

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