CheckNameAvailabilityResult Interface
Implements
public interface CheckNameAvailabilityResult
extends HasInnerModel<CheckNameAvailabilityResultInner>
The result of checking for Service Bus namespace name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isAvailable()
Gets a boolean value that indicates whether the name is available for you to use. |
abstract String |
unavailabilityMessage()
Gets an error message explaining the Reason value in more detail. |
abstract
Unavailable |
unavailabilityReason()
Gets the unavailability |
Method Details
isAvailable
public abstract boolean isAvailable()
Gets a boolean value that indicates whether the name is available for you to use.
Returns:
unavailabilityMessage
public abstract String unavailabilityMessage()
Gets an error message explaining the Reason value in more detail.
Returns:
unavailabilityReason
public abstract UnavailableReason unavailabilityReason()
Gets the unavailabilityReason that a namespace name could not be used.
Returns:
Applies to
Azure SDK for Java