public final class CheckNameAvailabilityResultInner extends Object
| Constructor and Description |
|---|
CheckNameAvailabilityResultInner() |
| 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 nameAvailable property: Value indicating namespace is availability, true if the namespace is available;
otherwise, false.
|
UnavailableReason |
reason()
Get the reason property: The reason for unavailability of a namespace.
|
void |
validate()
Validates the instance.
|
CheckNameAvailabilityResultInner |
withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available;
otherwise, false.
|
CheckNameAvailabilityResultInner |
withReason(UnavailableReason reason)
Set the reason property: The reason for unavailability of a namespace.
|
public String message()
public Boolean nameAvailable()
public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
nameAvailable - the nameAvailable value to set.public UnavailableReason reason()
public CheckNameAvailabilityResultInner withReason(UnavailableReason reason)
reason - the reason value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.