Class ComputeImageRawDisk.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • source

        @Stability(Stable)
        public ComputeImageRawDisk.Builder source​(String source)
        Parameters:
        source - The full Google Cloud Storage URL where disk storage is stored You must provide either this property or the sourceDisk property but not both. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#source ComputeImage#source}
        Returns:
        this
      • containerType

        @Stability(Stable)
        public ComputeImageRawDisk.Builder containerType​(String containerType)
        Parameters:
        containerType - The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. Default value: "TAR" Possible values: ["TAR"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#container_type ComputeImage#container_type}
        Returns:
        this
      • sha1

        @Stability(Stable)
        public ComputeImageRawDisk.Builder sha1​(String sha1)
        Parameters:
        sha1 - An optional SHA1 checksum of the disk image before unpackaging. This is provided by the client when the disk image is created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_image#sha1 ComputeImage#sha1}
        Returns:
        this