public final class CheckNameAvailabilityResultInner extends Object
Constructor and Description |
---|
CheckNameAvailabilityResultInner() |
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: Error message.
|
Boolean |
nameAvailable()
Get the nameAvailable property: Indicates if name is valid and available.
|
Reason |
reason()
Get the reason property: The reason the name is not available.
|
void |
validate()
Validates the instance.
|
CheckNameAvailabilityResultInner |
withMessage(String message)
Set the message property: Error message.
|
CheckNameAvailabilityResultInner |
withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates if name is valid and available.
|
CheckNameAvailabilityResultInner |
withReason(Reason reason)
Set the reason property: The reason the name is not available.
|
public String message()
public CheckNameAvailabilityResultInner withMessage(String message)
message
- the message value to set.public Boolean nameAvailable()
public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
nameAvailable
- the nameAvailable value to set.public Reason reason()
public CheckNameAvailabilityResultInner withReason(Reason 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.