Class CheckNameResultInner

java.lang.Object
com.azure.resourcemanager.kusto.fluent.models.CheckNameResultInner

public final class CheckNameResultInner extends Object
The result returned from a check name availability request.
  • Constructor Details

    • CheckNameResultInner

      public CheckNameResultInner()
  • Method Details

    • nameAvailable

      public Boolean nameAvailable()
      Get the nameAvailable property: Specifies a Boolean value that indicates if the name is available.
      Returns:
      the nameAvailable value.
    • withNameAvailable

      public CheckNameResultInner withNameAvailable(Boolean nameAvailable)
      Set the nameAvailable property: Specifies a Boolean value that indicates if the name is available.
      Parameters:
      nameAvailable - the nameAvailable value to set.
      Returns:
      the CheckNameResultInner object itself.
    • name

      public String name()
      Get the name property: The name that was checked.
      Returns:
      the name value.
    • withName

      public CheckNameResultInner withName(String name)
      Set the name property: The name that was checked.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameResultInner object itself.
    • message

      public String message()
      Get the message property: Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
      Returns:
      the message value.
    • withMessage

      public CheckNameResultInner withMessage(String message)
      Set the message property: Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated.
      Parameters:
      message - the message value to set.
      Returns:
      the CheckNameResultInner object itself.
    • reason

      public Reason reason()
      Get the reason property: Message providing the reason why the given name is invalid.
      Returns:
      the reason value.
    • withReason

      public CheckNameResultInner withReason(Reason reason)
      Set the reason property: Message providing the reason why the given name is invalid.
      Parameters:
      reason - the reason value to set.
      Returns:
      the CheckNameResultInner object itself.
    • validate

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