Class Disallowed


  • public final class Disallowed
    extends Object
    Describes the disallowed disk types.
    • Constructor Detail

      • Disallowed

        public Disallowed()
    • Method Detail

      • diskTypes

        public List<String> diskTypes()
        Get the diskTypes property: A list of disk types.
        Returns:
        the diskTypes value.
      • withDiskTypes

        public Disallowed withDiskTypes​(List<String> diskTypes)
        Set the diskTypes property: A list of disk types.
        Parameters:
        diskTypes - the diskTypes value to set.
        Returns:
        the Disallowed object itself.
      • validate

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