@Generated(value="by GAPIC") @BetaApi public final class DiskInstantiationConfig extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
DiskInstantiationConfig.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
Boolean |
getAutoDelete()
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the
disk is detached from the instance).
|
String |
getCustomImage()
The custom source image to be used to restore this disk when instantiating this instance
template.
|
static DiskInstantiationConfig |
getDefaultInstance() |
String |
getDeviceName()
Specifies the device name of the disk to which the configurations apply to.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getInstantiateFrom()
Specifies whether to include the disk and what image to use.
|
int |
hashCode() |
static DiskInstantiationConfig.Builder |
newBuilder() |
static DiskInstantiationConfig.Builder |
newBuilder(DiskInstantiationConfig prototype) |
DiskInstantiationConfig.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public Boolean getAutoDelete()
public String getCustomImage()
public String getDeviceName()
public String getInstantiateFrom()
public static DiskInstantiationConfig.Builder newBuilder()
public static DiskInstantiationConfig.Builder newBuilder(DiskInstantiationConfig prototype)
public DiskInstantiationConfig.Builder toBuilder()
public static DiskInstantiationConfig getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.