Class CheckNameAvailabilityResultInner
java.lang.Object
com.azure.resourcemanager.recoveryservices.fluent.models.CheckNameAvailabilityResultInner
Response for check name availability API. Resource provider will set availability as true | false.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: The message property.Get the nameAvailable property: The nameAvailable property.reason()
Get the reason property: The reason property.void
validate()
Validates the instance.withMessage
(String message) Set the message property: The message property.withNameAvailable
(Boolean nameAvailable) Set the nameAvailable property: The nameAvailable property.withReason
(String reason) Set the reason property: The reason property.
-
Constructor Details
-
CheckNameAvailabilityResultInner
public CheckNameAvailabilityResultInner()
-
-
Method Details
-
nameAvailable
Get the nameAvailable property: The nameAvailable property.- Returns:
- the nameAvailable value.
-
withNameAvailable
Set the nameAvailable property: The nameAvailable property.- Parameters:
nameAvailable
- the nameAvailable value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
reason
Get the reason property: The reason property.- Returns:
- the reason value.
-
withReason
Set the reason property: The reason property.- Parameters:
reason
- the reason value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
message
Get the message property: The message property.- Returns:
- the message value.
-
withMessage
Set the message property: The message property.- Parameters:
message
- the message value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-