Class CheckNameAvailabilityResponseInner
java.lang.Object
com.azure.resourcemanager.mixedreality.fluent.models.CheckNameAvailabilityResponseInner
Check Name Availability Response.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckNameAvailabilityResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: detail message.boolean
Get the nameAvailable property: if name Available.reason()
Get the reason property: Resource Name To Verify.void
validate()
Validates the instance.withMessage
(String message) Set the message property: detail message.withNameAvailable
(boolean nameAvailable) Set the nameAvailable property: if name Available.withReason
(NameUnavailableReason reason) Set the reason property: Resource Name To Verify.
-
Constructor Details
-
CheckNameAvailabilityResponseInner
public CheckNameAvailabilityResponseInner()Creates an instance of CheckNameAvailabilityResponseInner class.
-
-
Method Details
-
nameAvailable
public boolean nameAvailable()Get the nameAvailable property: if name Available.- Returns:
- the nameAvailable value.
-
withNameAvailable
Set the nameAvailable property: if name Available.- Parameters:
nameAvailable
- the nameAvailable value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
reason
Get the reason property: Resource Name To Verify.- Returns:
- the reason value.
-
message
Get the message property: detail message.- Returns:
- the message value.
-
withMessage
Set the message property: detail message.- Parameters:
message
- the message value to set.- Returns:
- the CheckNameAvailabilityResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-