CheckNameAvailabilityResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. communication. fluent. models. CheckNameAvailabilityResponseInner
- com.
public final class CheckNameAvailabilityResponseInner
The check availability result.
Constructor | Description |
---|---|
Check |
Creates an instance of Check |
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: Detailed reason why the given name is available. |
Boolean |
name Get the name |
Check |
reason()
Get the reason property: The reason why the given name is not available. |
void |
validate()
Validates the instance. |
Check |
with Set the message property: Detailed reason why the given name is available. |
Check |
with Set the name |
Check |
with Set the reason property: The reason why the given name is not available. |
Methods inherited from java.lang.Object
CheckNameAvailabilityResponseInner
public CheckNameAvailabilityResponseInner()
Creates an instance of CheckNameAvailabilityResponseInner class.
message
public String message()
Get the message property: Detailed reason why the given name is available.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates if the resource name is available.
Returns:
reason
public CheckNameAvailabilityReason reason()
Get the reason property: The reason why the given name is not available.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public CheckNameAvailabilityResponseInner withMessage(String message)
Set the message property: Detailed reason why the given name is available.
Parameters:
Returns:
withNameAvailable
public CheckNameAvailabilityResponseInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates if the resource name is available.
Parameters:
Returns:
withReason
public CheckNameAvailabilityResponseInner withReason(CheckNameAvailabilityReason reason)
Set the reason property: The reason why the given name is not available.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: