Class GCPDisk
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.GCPDisk
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<GCPDiskBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GCPDisk extends Object implements io.fabric8.kubernetes.api.builder.Editable<GCPDiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
GCPDisk describes disks for GCP.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GCPDiskBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetAutoDelete()autoDelete indicates if the disk will be auto-deleted when the instance is deleted (default false).BooleangetBoot()boot indicates if this is a boot disk (default false).GCPEncryptionKeyReferencegetEncryptionKey()GCPDisk describes disks for GCP.StringgetImage()image is the source image to create this disk.Map<String,String>getLabels()labels list of labels to apply to the disk.LonggetSizeGb()sizeGb is the size of the disk (in GB).StringgetType()type is the type of the disk (eg: pd-standard).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAutoDelete(Boolean autoDelete)autoDelete indicates if the disk will be auto-deleted when the instance is deleted (default false).voidsetBoot(Boolean boot)boot indicates if this is a boot disk (default false).voidsetEncryptionKey(GCPEncryptionKeyReference encryptionKey)GCPDisk describes disks for GCP.voidsetImage(String image)image is the source image to create this disk.voidsetLabels(Map<String,String> labels)labels list of labels to apply to the disk.voidsetSizeGb(Long sizeGb)sizeGb is the size of the disk (in GB).voidsetType(String type)type is the type of the disk (eg: pd-standard).GCPDiskBuildertoBuilder()
-
-
-
Method Detail
-
getAutoDelete
public Boolean getAutoDelete()
autoDelete indicates if the disk will be auto-deleted when the instance is deleted (default false).
-
setAutoDelete
public void setAutoDelete(Boolean autoDelete)
autoDelete indicates if the disk will be auto-deleted when the instance is deleted (default false).
-
getBoot
public Boolean getBoot()
boot indicates if this is a boot disk (default false).
-
setBoot
public void setBoot(Boolean boot)
boot indicates if this is a boot disk (default false).
-
getEncryptionKey
public GCPEncryptionKeyReference getEncryptionKey()
GCPDisk describes disks for GCP.
-
setEncryptionKey
public void setEncryptionKey(GCPEncryptionKeyReference encryptionKey)
GCPDisk describes disks for GCP.
-
getImage
public String getImage()
image is the source image to create this disk.
-
setImage
public void setImage(String image)
image is the source image to create this disk.
-
setLabels
public void setLabels(Map<String,String> labels)
labels list of labels to apply to the disk.
-
getSizeGb
public Long getSizeGb()
sizeGb is the size of the disk (in GB).
-
setSizeGb
public void setSizeGb(Long sizeGb)
sizeGb is the size of the disk (in GB).
-
getType
public String getType()
type is the type of the disk (eg: pd-standard).
-
setType
public void setType(String type)
type is the type of the disk (eg: pd-standard).
-
edit
public GCPDiskBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<GCPDiskBuilder>
-
toBuilder
public GCPDiskBuilder toBuilder()
-
-