Class Storage

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<StorageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Storage
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<StorageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Storage describes one storage device (disk, SSD, etc.) on the host.
    See Also:
    Serialized Form
    • Method Detail

      • getAlternateNames

        public List<String> getAlternateNames()
        A list of alternate Linux device names of the disk, e.g. "/dev/sda". Note that this list is not exhaustive, and names may not be stable across reboots.
      • setAlternateNames

        public void setAlternateNames​(List<String> alternateNames)
        A list of alternate Linux device names of the disk, e.g. "/dev/sda". Note that this list is not exhaustive, and names may not be stable across reboots.
      • getHctl

        public String getHctl()
        The SCSI location of the device
      • setHctl

        public void setHctl​(String hctl)
        The SCSI location of the device
      • getModel

        public String getModel()
        Hardware model
      • setModel

        public void setModel​(String model)
        Hardware model
      • getName

        public String getName()
        A Linux device name of the disk, e.g. "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". This will be a name that is stable across reboots if one is available.
      • setName

        public void setName​(String name)
        A Linux device name of the disk, e.g. "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". This will be a name that is stable across reboots if one is available.
      • getRotational

        public Boolean getRotational()
        Whether this disk represents rotational storage. This field is not recommended for usage, please prefer using 'Type' field instead, this field will be deprecated eventually.
      • setRotational

        public void setRotational​(Boolean rotational)
        Whether this disk represents rotational storage. This field is not recommended for usage, please prefer using 'Type' field instead, this field will be deprecated eventually.
      • getSerialNumber

        public String getSerialNumber()
        The serial number of the device
      • setSerialNumber

        public void setSerialNumber​(String serialNumber)
        The serial number of the device
      • getSizeBytes

        public Long getSizeBytes()
        The size of the disk in Bytes
      • setSizeBytes

        public void setSizeBytes​(Long sizeBytes)
        The size of the disk in Bytes
      • getType

        public String getType()
        Device type, one of: HDD, SSD, NVME.
      • setType

        public void setType​(String type)
        Device type, one of: HDD, SSD, NVME.
      • getVendor

        public String getVendor()
        The name of the vendor of the device
      • setVendor

        public void setVendor​(String vendor)
        The name of the vendor of the device
      • getWwn

        public String getWwn()
        The WWN of the device
      • setWwn

        public void setWwn​(String wwn)
        The WWN of the device
      • getWwnVendorExtension

        public String getWwnVendorExtension()
        The WWN Vendor extension of the device
      • setWwnVendorExtension

        public void setWwnVendorExtension​(String wwnVendorExtension)
        The WWN Vendor extension of the device
      • getWwnWithExtension

        public String getWwnWithExtension()
        The WWN with the extension
      • setWwnWithExtension

        public void setWwnWithExtension​(String wwnWithExtension)
        The WWN with the extension
      • getAdditionalProperties

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

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

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