你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CheckNameAvailabilityResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. fluent. models. CheckNameAvailabilityResultInner
- com.
public final class CheckNameAvailabilityResultInner
Description of a Check Name availability request properties.
Constructor Summary
Constructor | Description | |
---|---|---|
CheckNameAvailabilityResultInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: The detailed info regarding the reason associated with the namespace. |
Boolean |
nameAvailable()
Get the name |
Unavailable |
reason()
Get the reason property: The reason for unavailability of a namespace. |
void |
validate()
Validates the instance. |
Check |
withNameAvailable(Boolean nameAvailable)
Set the name |
Check |
withReason(UnavailableReason reason)
Set the reason property: The reason for unavailability of a namespace. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityResultInner
public CheckNameAvailabilityResultInner()
Method Details
message
public String message()
Get the message property: The detailed info regarding the reason associated with the namespace.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.
Returns:
reason
public UnavailableReason reason()
Get the reason property: The reason for unavailability of a namespace.
Returns:
validate
public void validate()
Validates the instance.
withNameAvailable
public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.
Parameters:
Returns:
withReason
public CheckNameAvailabilityResultInner withReason(UnavailableReason reason)
Set the reason property: The reason for unavailability of a namespace.
Parameters:
Returns:
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈