Class CheckNameAvailabilityResultInner
java.lang.Object
com.azure.resourcemanager.servicebus.fluent.models.CheckNameAvailabilityResultInner
Description of a 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 availability, true if the namespace is available; otherwise, false.reason()Get the reason property: The reason for unavailability of a namespace.voidvalidate()Validates the instance.withNameAvailable(Boolean nameAvailable) Set the nameAvailable property: Value indicating namespace is availability, true if the namespace is available; otherwise, false.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 availability, true if the namespace is available; otherwise, false.- Returns:
- the nameAvailable value.
-
withNameAvailable
Set the nameAvailable property: Value indicating namespace is availability, 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.
-