Class CheckNameAvailabilityResultInner

java.lang.Object
com.azure.resourcemanager.relay.fluent.models.CheckNameAvailabilityResultInner

public final class CheckNameAvailabilityResultInner extends Object
Description of the check name availability request properties.
  • Constructor Details

    • CheckNameAvailabilityResultInner

      public CheckNameAvailabilityResultInner()
  • Method Details

    • 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 available. Returns 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 available. Returns 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

      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.