Class EntityNameAvailabilityCheckOutputInner

java.lang.Object
com.azure.resourcemanager.mediaservices.fluent.models.EntityNameAvailabilityCheckOutputInner

public final class EntityNameAvailabilityCheckOutputInner extends Object
The response from the check name availability request.
  • Constructor Details

    • EntityNameAvailabilityCheckOutputInner

      public EntityNameAvailabilityCheckOutputInner()
      Creates an instance of EntityNameAvailabilityCheckOutputInner class.
  • Method Details

    • nameAvailable

      public boolean nameAvailable()
      Get the nameAvailable property: Specifies if the name is available.
      Returns:
      the nameAvailable value.
    • withNameAvailable

      public EntityNameAvailabilityCheckOutputInner withNameAvailable(boolean nameAvailable)
      Set the nameAvailable property: Specifies if the name is available.
      Parameters:
      nameAvailable - the nameAvailable value to set.
      Returns:
      the EntityNameAvailabilityCheckOutputInner object itself.
    • reason

      public String reason()
      Get the reason property: Specifies the reason if the name is not available.
      Returns:
      the reason value.
    • withReason

      public EntityNameAvailabilityCheckOutputInner withReason(String reason)
      Set the reason property: Specifies the reason if the name is not available.
      Parameters:
      reason - the reason value to set.
      Returns:
      the EntityNameAvailabilityCheckOutputInner object itself.
    • message

      public String message()
      Get the message property: Specifies the detailed reason if the name is not available.
      Returns:
      the message value.
    • withMessage

      public EntityNameAvailabilityCheckOutputInner withMessage(String message)
      Set the message property: Specifies the detailed reason if the name is not available.
      Parameters:
      message - the message value to set.
      Returns:
      the EntityNameAvailabilityCheckOutputInner object itself.
    • validate

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