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)