ServerNameItem Class
- java.
lang. Object - com.
azure. resourcemanager. cosmosdbforpostgresql. models. ServerNameItem
- com.
public final class ServerNameItem
The name object for a server.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerNameItem() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
fullyQualifiedDomainName()
Get the fully |
| String |
name()
Get the name property: The name of a server. |
| void |
validate()
Validates the instance. |
|
Server |
withName(String name)
Set the name property: The name of a server. |
Methods inherited from java.lang.Object
Constructor Details
ServerNameItem
public ServerNameItem()
Creates an instance of ServerNameItem class.
Method Details
fullyQualifiedDomainName
public String fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
Returns:
name
public String name()
Get the name property: The name of a server.
Returns:
validate
public void validate()
Validates the instance.
withName
public ServerNameItem withName(String name)
Set the name property: The name of a server.
Parameters:
Returns: