Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
AttachedDisk.Builder |
AttachedDisk.Builder.addAllGuestOsFeatures(List<GuestOsFeature> guestOsFeatures)
A list of features to enable on the guest operating system.
|
AttachedDisk.Builder |
AttachedDisk.Builder.addAllLicenses(List<String> licenses)
[Output Only] Any valid publicly visible licenses.
|
AttachedDisk.Builder |
AttachedDisk.Builder.addGuestOsFeatures(GuestOsFeature guestOsFeatures)
A list of features to enable on the guest operating system.
|
AttachedDisk.Builder |
AttachedDisk.Builder.addLicenses(String licenses)
[Output Only] Any valid publicly visible licenses.
|
AttachedDisk.Builder |
AttachedDisk.Builder.clone() |
AttachedDisk.Builder |
AttachedDisk.Builder.mergeFrom(AttachedDisk other) |
static AttachedDisk.Builder |
AttachedDisk.newBuilder() |
static AttachedDisk.Builder |
AttachedDisk.newBuilder(AttachedDisk prototype) |
AttachedDisk.Builder |
AttachedDisk.Builder.setAutoDelete(Boolean autoDelete)
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when
the disk is detached from the instance).
|
AttachedDisk.Builder |
AttachedDisk.Builder.setBoot(Boolean boot)
Indicates that this is a boot disk.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setDeviceName(String deviceName)
Specifies a unique device name of your choice that is reflected into the
/dev/disk/by-id/google-* tree of a Linux operating system running within the instance.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setDiskEncryptionKey(CustomerEncryptionKey diskEncryptionKey)
Encrypts or decrypts a disk using a customer-supplied encryption key.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setIndex(Integer index)
[Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setInitializeParams(AttachedDiskInitializeParams initializeParams)
[Input Only] Specifies the parameters for a new disk that will be created alongside the new
instance.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setInterface(String interface2)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setKind(String kind)
[Output Only] Type of the resource.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setMode(String mode)
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setSource(String source)
Specifies a valid partial or full URL to an existing Persistent Disk resource.
|
AttachedDisk.Builder |
AttachedDisk.Builder.setType(String type)
Specifies the type of the disk, either SCRATCH or PERSISTENT.
|
AttachedDisk.Builder |
AttachedDisk.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.