public static class DiskInstantiationConfig.Builder extends Object
Modifier and Type | Method and Description |
---|---|
DiskInstantiationConfig |
build() |
DiskInstantiationConfig.Builder |
clone() |
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.
|
String |
getDeviceName()
Specifies the device name of the disk to which the configurations apply to.
|
String |
getInstantiateFrom()
Specifies whether to include the disk and what image to use.
|
DiskInstantiationConfig.Builder |
mergeFrom(DiskInstantiationConfig other) |
DiskInstantiationConfig.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).
|
DiskInstantiationConfig.Builder |
setCustomImage(String customImage)
The custom source image to be used to restore this disk when instantiating this instance
template.
|
DiskInstantiationConfig.Builder |
setDeviceName(String deviceName)
Specifies the device name of the disk to which the configurations apply to.
|
DiskInstantiationConfig.Builder |
setInstantiateFrom(String instantiateFrom)
Specifies whether to include the disk and what image to use.
|
public DiskInstantiationConfig.Builder mergeFrom(DiskInstantiationConfig other)
public Boolean getAutoDelete()
public DiskInstantiationConfig.Builder setAutoDelete(Boolean autoDelete)
public String getCustomImage()
public DiskInstantiationConfig.Builder setCustomImage(String customImage)
public String getDeviceName()
public DiskInstantiationConfig.Builder setDeviceName(String deviceName)
public String getInstantiateFrom()
public DiskInstantiationConfig.Builder setInstantiateFrom(String instantiateFrom)
public DiskInstantiationConfig build()
public DiskInstantiationConfig.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.