NameAvailabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. mysql. fluent. models. NameAvailabilityInner
- com.
public final class NameAvailabilityInner
Represents a resource name availability.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| NameAvailabilityInner() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
message()
Get the message property: Error Message. |
| Boolean |
nameAvailable()
Get the name |
| String |
reason()
Get the reason property: Reason for name being unavailable. |
| void |
validate()
Validates the instance. |
|
Name |
withMessage(String message)
Set the message property: Error Message. |
|
Name |
withNameAvailable(Boolean nameAvailable)
Set the name |
|
Name |
withReason(String reason)
Set the reason property: Reason for name being unavailable. |
Methods inherited from java.lang.Object
Constructor Details
NameAvailabilityInner
public NameAvailabilityInner()
Method Details
message
public String message()
Get the message property: Error Message.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates whether the resource name is available.
Returns:
reason
public String reason()
Get the reason property: Reason for name being unavailable.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public NameAvailabilityInner withMessage(String message)
Set the message property: Error Message.
Parameters:
Returns:
withNameAvailable
public NameAvailabilityInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates whether the resource name is available.
Parameters:
Returns:
withReason
public NameAvailabilityInner withReason(String reason)
Set the reason property: Reason for name being unavailable.
Parameters:
Returns: