Class IotHubNameAvailabilityInfoInner


  • public final class IotHubNameAvailabilityInfoInner
    extends Object
    The properties indicating whether a given IoT hub name is available.
    • Constructor Detail

      • IotHubNameAvailabilityInfoInner

        public IotHubNameAvailabilityInfoInner()
    • Method Detail

      • nameAvailable

        public Boolean nameAvailable()
        Get the nameAvailable property: The value which indicates whether the provided name is available.
        Returns:
        the nameAvailable value.
      • message

        public String message()
        Get the message property: The detailed reason message.
        Returns:
        the message value.
      • withMessage

        public IotHubNameAvailabilityInfoInner withMessage​(String message)
        Set the message property: The detailed reason message.
        Parameters:
        message - the message value to set.
        Returns:
        the IotHubNameAvailabilityInfoInner object itself.
      • validate

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