Class CheckNameAvailabilityResultInner


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

      • CheckNameAvailabilityResultInner

        public CheckNameAvailabilityResultInner()
    • Method Detail

      • message

        public String message()
        Get the message property: The detailed info regarding the reason associated with the namespace.
        Returns:
        the message value.
      • nameAvailable

        public Boolean nameAvailable()
        Get the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.
        Returns:
        the nameAvailable value.
      • withNameAvailable

        public CheckNameAvailabilityResultInner withNameAvailable​(Boolean nameAvailable)
        Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.
        Parameters:
        nameAvailable - the nameAvailable value to set.
        Returns:
        the CheckNameAvailabilityResultInner object itself.
      • reason

        public UnavailableReason reason()
        Get the reason property: The reason for unavailability of a namespace.
        Returns:
        the reason value.
      • withReason

        public CheckNameAvailabilityResultInner withReason​(UnavailableReason reason)
        Set the reason property: The reason for unavailability of a namespace.
        Parameters:
        reason - the reason value to set.
        Returns:
        the CheckNameAvailabilityResultInner object itself.
      • validate

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