public final class NameAvailabilityInner extends Object
| Constructor and Description |
|---|
NameAvailabilityInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
message()
Get the message property: Error Message.
|
String |
name()
Get the name property: name of the PostgreSQL server.
|
Boolean |
nameAvailable()
Get the nameAvailable property: Indicates whether the resource name is available.
|
String |
type()
Get the type property: type of the server.
|
void |
validate()
Validates the instance.
|
NameAvailabilityInner |
withMessage(String message)
Set the message property: Error Message.
|
NameAvailabilityInner |
withName(String name)
Set the name property: name of the PostgreSQL server.
|
NameAvailabilityInner |
withNameAvailable(Boolean nameAvailable)
Set the nameAvailable property: Indicates whether the resource name is available.
|
NameAvailabilityInner |
withType(String type)
Set the type property: type of the server.
|
public String message()
public NameAvailabilityInner withMessage(String message)
message - the message value to set.public Boolean nameAvailable()
public NameAvailabilityInner withNameAvailable(Boolean nameAvailable)
nameAvailable - the nameAvailable value to set.public String name()
public NameAvailabilityInner withName(String name)
name - the name value to set.public String type()
public NameAvailabilityInner withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.