public final class ServerProperties extends Object
| Constructor and Description |
|---|
ServerProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLogin()
Get the administratorLogin property: The administrator's login name of a server.
|
String |
administratorLoginPassword()
Get the administratorLoginPassword property: The administrator login password (required for server creation).
|
String |
availabilityZone()
Get the availabilityZone property: availability zone information of the server.
|
Backup |
backup()
Get the backup property: Backup properties of a server.
|
CreateMode |
createMode()
Get the createMode property: The mode to create a new PostgreSQL server.
|
String |
fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of a server.
|
HighAvailability |
highAvailability()
Get the highAvailability property: High availability properties of a server.
|
MaintenanceWindow |
maintenanceWindow()
Get the maintenanceWindow property: Maintenance window properties of a server.
|
String |
minorVersion()
Get the minorVersion property: The minor version of the server.
|
Network |
network()
Get the network property: Network properties of a server.
|
OffsetDateTime |
pointInTimeUtc()
Get the pointInTimeUtc property: Restore point creation time (ISO8601 format), specifying the time to restore
from.
|
String |
sourceServerResourceId()
Get the sourceServerResourceId property: The source server resource ID to restore from.
|
ServerState |
state()
Get the state property: A state of a server that is visible to user.
|
Storage |
storage()
Get the storage property: Storage properties of a server.
|
Map<String,String> |
tags()
Get the tags property: Application-specific metadata in the form of key-value pairs.
|
void |
validate()
Validates the instance.
|
ServerVersion |
version()
Get the version property: PostgreSQL Server version.
|
ServerProperties |
withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: The administrator's login name of a server.
|
ServerProperties |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The administrator login password (required for server creation).
|
ServerProperties |
withAvailabilityZone(String availabilityZone)
Set the availabilityZone property: availability zone information of the server.
|
ServerProperties |
withBackup(Backup backup)
Set the backup property: Backup properties of a server.
|
ServerProperties |
withCreateMode(CreateMode createMode)
Set the createMode property: The mode to create a new PostgreSQL server.
|
ServerProperties |
withHighAvailability(HighAvailability highAvailability)
Set the highAvailability property: High availability properties of a server.
|
ServerProperties |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenanceWindow property: Maintenance window properties of a server.
|
ServerProperties |
withNetwork(Network network)
Set the network property: Network properties of a server.
|
ServerProperties |
withPointInTimeUtc(OffsetDateTime pointInTimeUtc)
Set the pointInTimeUtc property: Restore point creation time (ISO8601 format), specifying the time to restore
from.
|
ServerProperties |
withSourceServerResourceId(String sourceServerResourceId)
Set the sourceServerResourceId property: The source server resource ID to restore from.
|
ServerProperties |
withStorage(Storage storage)
Set the storage property: Storage properties of a server.
|
ServerProperties |
withTags(Map<String,String> tags)
Set the tags property: Application-specific metadata in the form of key-value pairs.
|
ServerProperties |
withVersion(ServerVersion version)
Set the version property: PostgreSQL Server version.
|
public String administratorLogin()
public ServerProperties withAdministratorLogin(String administratorLogin)
administratorLogin - the administratorLogin value to set.public String administratorLoginPassword()
public ServerProperties withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public ServerVersion version()
public ServerProperties withVersion(ServerVersion version)
version - the version value to set.public String minorVersion()
public ServerState state()
public String fullyQualifiedDomainName()
public Storage storage()
public ServerProperties withStorage(Storage storage)
storage - the storage value to set.public Backup backup()
public ServerProperties withBackup(Backup backup)
backup - the backup value to set.public Network network()
public ServerProperties withNetwork(Network network)
network - the network value to set.public HighAvailability highAvailability()
public ServerProperties withHighAvailability(HighAvailability highAvailability)
highAvailability - the highAvailability value to set.public MaintenanceWindow maintenanceWindow()
public ServerProperties withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
maintenanceWindow - the maintenanceWindow value to set.public String sourceServerResourceId()
public ServerProperties withSourceServerResourceId(String sourceServerResourceId)
sourceServerResourceId - the sourceServerResourceId value to set.public OffsetDateTime pointInTimeUtc()
public ServerProperties withPointInTimeUtc(OffsetDateTime pointInTimeUtc)
pointInTimeUtc - the pointInTimeUtc value to set.public String availabilityZone()
public ServerProperties withAvailabilityZone(String availabilityZone)
availabilityZone - the availabilityZone value to set.public CreateMode createMode()
public ServerProperties withCreateMode(CreateMode createMode)
createMode - the createMode value to set.public Map<String,String> tags()
public ServerProperties withTags(Map<String,String> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.