| Package | Description |
|---|---|
| com.google.cloud.compute |
A client to Google Cloud Compute.
|
| Modifier and Type | Method and Description |
|---|---|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.autoDelete(Boolean autoDelete)
Sets whether the disk should auto-delete when the instance to which it's attached is
deleted.
|
static AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.builder(ImageId sourceImage)
Returns a builder for a
CreateDiskConfiguration object given the source image that
will be used to create the disk. |
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.diskName(String diskName)
Sets the name to be assigned to the disk.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.diskSizeGb(Long diskSizeGb)
Sets the size of the persistent disk, in GB.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.diskType(DiskTypeId diskType)
Sets the identity of the disk type.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.Builder.sourceImage(ImageId sourceImage)
Sets the identity of the source image used to create the disk.
|
AttachedDisk.CreateDiskConfiguration.Builder |
AttachedDisk.CreateDiskConfiguration.toBuilder()
Returns a builder for the current configuration.
|
Copyright © 2016 Google. All rights reserved.