NameAvailabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. fluent. models. NameAvailabilityInner
- com.
public final class NameAvailabilityInner
Represents a resource name availability.
Constructor Summary
Constructor | Description | |
---|---|---|
NameAvailabilityInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
message()
Get the message property: Error Message. |
Boolean |
nameAvailable()
Get the name |
String |
reason()
Get the reason property: Reason for name being unavailable. |
void |
validate()
Validates the instance. |
Name |
withMessage(String message)
Set the message property: Error Message. |
Name |
withNameAvailable(Boolean nameAvailable)
Set the name |
Name |
withReason(String reason)
Set the reason property: Reason for name being unavailable. |
Methods inherited from java.lang.Object
Constructor Details
NameAvailabilityInner
public NameAvailabilityInner()
Method Details
message
public String message()
Get the message property: Error Message.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates whether the resource name is available.
Returns:
reason
public String reason()
Get the reason property: Reason for name being unavailable.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public NameAvailabilityInner withMessage(String message)
Set the message property: Error Message.
Parameters:
Returns:
withNameAvailable
public NameAvailabilityInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates whether the resource name is available.
Parameters:
Returns:
withReason
public NameAvailabilityInner withReason(String reason)
Set the reason property: Reason for name being unavailable.
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