Class DiskCreationOptions.Builder

java.lang.Object
org.jclouds.googlecomputeengine.options.DiskCreationOptions.Builder
Enclosing class:
DiskCreationOptions

public static class DiskCreationOptions.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • type

      public DiskCreationOptions.Builder type(URI type)
      The disk type, fully qualified URL for the disk type.
      Returns:
      the disk type
    • 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.
    • build

      public DiskCreationOptions build()