CheckNameAvailabilityResult Interface
public interface CheckNameAvailabilityResult
The result of check name availability.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
message()
Gets the message explaining the reason of name unavailability in more detail. |
abstract boolean |
nameAvailable()
Gets whether name is available to use. |
abstract
Check |
reason()
Gets the reason that the name could not be used. |
Method Details
message
public abstract String message()
Gets the message explaining the reason of name unavailability in more detail.
Returns:
nameAvailable
public abstract boolean nameAvailable()
Gets whether name is available to use.
Returns:
reason
public abstract CheckNameAvailabilityReason reason()
Gets the reason that the name could not be used.
Returns:
Applies to
Azure SDK for Java