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:
an error message explaining the reason of name unavailability in more detail.
nameAvailable
public abstract boolean nameAvailable()
Gets whether name is available to use.
Returns:
whether name is available to use.
reason
public abstract CheckNameAvailabilityReason reason()
Gets the reason that the name could not be used.
Returns:
the reason that the name could not be used.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java