Class DiskCreationOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sizeGb

        public DiskCreationOptions.Builder sizeGb​(Integer sizeGb)
        Size of the persistent disk, specified in GB. You can also specify this when creating a persistent disk using the sourceImage or sourceSnapshot parameter.
      • sourceSnapshot

        public DiskCreationOptions.Builder sourceSnapshot​(URI sourceSnapshot)
        The source snapshot
        Returns:
        sourceSnapshot, fully qualified URL for the snapshot to be copied.
      • description

        public DiskCreationOptions.Builder description​(String description)
        The description
        Returns:
        description, An optional textual description of the resource.