Class DiskInformation


  • public final class DiskInformation
    extends Object
    Disk information.
    • Constructor Detail

      • DiskInformation

        public DiskInformation()
    • Method Detail

      • lun

        public Integer lun()
        Get the lun property: The lun property.
        Returns:
        the lun value.
      • withLun

        public DiskInformation withLun​(Integer lun)
        Set the lun property: The lun property.
        Parameters:
        lun - the lun value to set.
        Returns:
        the DiskInformation object itself.
      • name

        public String name()
        Get the name property: The name property.
        Returns:
        the name value.
      • withName

        public DiskInformation withName​(String name)
        Set the name property: The name property.
        Parameters:
        name - the name value to set.
        Returns:
        the DiskInformation object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.