NameAvailabilityInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. fluent. models. NameAvailabilityInner
- com.
public final class NameAvailabilityInner
Represents cluster name availability.
Constructor Summary
| Constructor | Description |
|---|---|
| NameAvailabilityInner() |
Creates an instance of Name |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
message()
Get the message property: Error message. |
| String |
name()
Get the name property: Name of the cluster. |
| Boolean |
nameAvailable()
Get the name |
| String |
type()
Get the type property: Type of the cluster. |
| void |
validate()
Validates the instance. |
|
Name |
withMessage(String message)
Set the message property: Error message. |
|
Name |
withName(String name)
Set the name property: Name of the cluster. |
|
Name |
withNameAvailable(Boolean nameAvailable)
Set the name |
|
Name |
withType(String type)
Set the type property: Type of the cluster. |
Methods inherited from java.lang.Object
Constructor Details
NameAvailabilityInner
public NameAvailabilityInner()
Creates an instance of NameAvailabilityInner class.
Method Details
message
public String message()
Get the message property: Error message.
Returns:
name
public String name()
Get the name property: Name of the cluster.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates whether the cluster name is available.
Returns:
type
public String type()
Get the type property: Type of the cluster.
Returns:
validate
public void validate()
Validates the instance.
withMessage
public NameAvailabilityInner withMessage(String message)
Set the message property: Error message.
Parameters:
Returns:
withName
public NameAvailabilityInner withName(String name)
Set the name property: Name of the cluster.
Parameters:
Returns:
withNameAvailable
public NameAvailabilityInner withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates whether the cluster name is available.
Parameters:
Returns:
withType
public NameAvailabilityInner withType(String type)
Set the type property: Type of the cluster.
Parameters:
Returns: