Class CheckNameAvailabilityResultInner
java.lang.Object
com.azure.resourcemanager.relay.fluent.models.CheckNameAvailabilityResultInner
Description of the check name availability request properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: The detailed info regarding the reason associated with the namespace.Get the nameAvailable property: Value indicating namespace is available.reason()
Get the reason property: The reason for unavailability of a namespace.void
validate()
Validates the instance.withNameAvailable
(Boolean nameAvailable) Set the nameAvailable property: Value indicating namespace is available.withReason
(UnavailableReason reason) Set the reason property: The reason for unavailability of a namespace.
-
Constructor Details
-
CheckNameAvailabilityResultInner
public CheckNameAvailabilityResultInner()
-
-
Method Details
-
message
Get the message property: The detailed info regarding the reason associated with the namespace.- Returns:
- the message value.
-
nameAvailable
Get the nameAvailable property: Value indicating namespace is available. Returns true if the namespace is available; otherwise, false.- Returns:
- the nameAvailable value.
-
withNameAvailable
Set the nameAvailable property: Value indicating namespace is available. Returns true if the namespace is available; otherwise, false.- Parameters:
nameAvailable
- the nameAvailable value to set.- Returns:
- the CheckNameAvailabilityResultInner object itself.
-
reason
Get the reason property: The reason for unavailability of a namespace.- Returns:
- the reason value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-