Class CheckNameAvailabilityResultInner
java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.CheckNameAvailabilityResultInner
The Result of the CheckNameAvailability operation.
-
Constructor Summary
-
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.void
validate()
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.
-