Class 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 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).
      • 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.
      • getLabels

        public Map<String,​String> getLabels()
        labels list of labels to apply to the 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).
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)