Class ComputeRegionDiskResourcePolicyAttachment.Builder

    • Method Detail

      • disk

        @Stability(Stable)
        public ComputeRegionDiskResourcePolicyAttachment.Builder disk​(String disk)
        The name of the regional disk in which the resource policies are attached to.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk_resource_policy_attachment#disk ComputeRegionDiskResourcePolicyAttachment#disk}

        Parameters:
        disk - The name of the regional disk in which the resource policies are attached to. This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public ComputeRegionDiskResourcePolicyAttachment.Builder name​(String name)
        The resource policy to be attached to the disk for scheduling snapshot creation. Do not specify the self link.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk_resource_policy_attachment#name ComputeRegionDiskResourcePolicyAttachment#name}

        Parameters:
        name - The resource policy to be attached to the disk for scheduling snapshot creation. Do not specify the self link. This parameter is required.
        Returns:
        this
      • id

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

        @Stability(Stable)
        public ComputeRegionDiskResourcePolicyAttachment.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk_resource_policy_attachment#project ComputeRegionDiskResourcePolicyAttachment#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk_resource_policy_attachment#project ComputeRegionDiskResourcePolicyAttachment#project}. This parameter is required.
        Returns:
        this
      • region

        @Stability(Stable)
        public ComputeRegionDiskResourcePolicyAttachment.Builder region​(String region)
        A reference to the region where the disk resides.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_disk_resource_policy_attachment#region ComputeRegionDiskResourcePolicyAttachment#region}

        Parameters:
        region - A reference to the region where the disk resides. This parameter is required.
        Returns:
        this