CheckNameAvailabilityResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. fluent. models. CheckNameAvailabilityResultInner
- com.
public final class CheckNameAvailabilityResultInner
The Result of the CheckNameAvailability operation.
Constructor Summary
Constructor | Description | |
---|---|---|
CheckNameAvailabilityResultInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: The detailed info regarding the reason associated with the Namespace. |
Boolean |
nameAvailable()
Get the name |
Unavailable |
reason()
Get the reason property: The reason for unavailability of a Namespace. |
void |
validate()
Validates the instance. |
Check |
withNameAvailable(Boolean nameAvailable)
Set the name |
Check |
withReason(UnavailableReason reason)
Set the reason property: The reason for unavailability of a Namespace. |
Methods inherited from java.lang.Object
Constructor Details
CheckNameAvailabilityResultInner
public CheckNameAvailabilityResultInner()
Method Details
message
public String message()
Get the message property: The detailed info regarding the reason associated with the Namespace.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.
Returns:
reason
public UnavailableReason reason()
Get the reason property: The reason for unavailability of a Namespace.
Returns:
validate
public void validate()
Validates the instance.
withNameAvailable
public CheckNameAvailabilityResultInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Value indicating Namespace is availability, true if the Namespace is available; otherwise, false.
Parameters:
Returns:
withReason
public CheckNameAvailabilityResultInner withReason(UnavailableReason reason)
Set the reason property: The reason for unavailability of a Namespace.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for