Class CheckCapacityNameAvailabilityResultInner

java.lang.Object
com.azure.resourcemanager.powerbidedicated.fluent.models.CheckCapacityNameAvailabilityResultInner

public final class CheckCapacityNameAvailabilityResultInner extends Object
The checking result of capacity name availability.
  • Constructor Details

    • CheckCapacityNameAvailabilityResultInner

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

    • nameAvailable

      public Boolean nameAvailable()
      Get the nameAvailable property: Indicator of availability of the capacity name.
      Returns:
      the nameAvailable value.
    • withNameAvailable

      public CheckCapacityNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
      Set the nameAvailable property: Indicator of availability of the capacity name.
      Parameters:
      nameAvailable - the nameAvailable value to set.
      Returns:
      the CheckCapacityNameAvailabilityResultInner object itself.
    • reason

      public String reason()
      Get the reason property: The reason of unavailability.
      Returns:
      the reason value.
    • withReason

      Set the reason property: The reason of unavailability.
      Parameters:
      reason - the reason value to set.
      Returns:
      the CheckCapacityNameAvailabilityResultInner object itself.
    • message

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

      public CheckCapacityNameAvailabilityResultInner withMessage(String message)
      Set the message property: The detailed message of the request unavailability.
      Parameters:
      message - the message value to set.
      Returns:
      the CheckCapacityNameAvailabilityResultInner object itself.
    • validate

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