Class CheckNameAvailability


  • public final class CheckNameAvailability
    extends Object
    Description of a Check Name availability request properties.
    • Constructor Detail

      • CheckNameAvailability

        public CheckNameAvailability()
    • Method Detail

      • name

        public String name()
        Get the name property: The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
        Returns:
        the name value.
      • withName

        public CheckNameAvailability withName​(String name)
        Set the name property: The Name to check the namespace name availability and The namespace name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number.
        Parameters:
        name - the name value to set.
        Returns:
        the CheckNameAvailability object itself.
      • validate

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