public final class ServerPropertiesForUpdate extends Object
| Constructor and Description |
|---|
ServerPropertiesForUpdate() |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLoginPassword()
Get the administratorLoginPassword property: The password of the administrator login.
|
Backup |
backup()
Get the backup property: Backup properties of a server.
|
CreateModeForUpdate |
createMode()
Get the createMode property: The mode to update a new PostgreSQL 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.
|
Storage |
storage()
Get the storage property: Storage properties of a server.
|
void |
validate()
Validates the instance.
|
ServerPropertiesForUpdate |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the administrator login.
|
ServerPropertiesForUpdate |
withBackup(Backup backup)
Set the backup property: Backup properties of a server.
|
ServerPropertiesForUpdate |
withCreateMode(CreateModeForUpdate createMode)
Set the createMode property: The mode to update a new PostgreSQL server.
|
ServerPropertiesForUpdate |
withHighAvailability(HighAvailability highAvailability)
Set the highAvailability property: High availability properties of a server.
|
ServerPropertiesForUpdate |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenanceWindow property: Maintenance window properties of a server.
|
ServerPropertiesForUpdate |
withStorage(Storage storage)
Set the storage property: Storage properties of a server.
|
public String administratorLoginPassword()
public ServerPropertiesForUpdate withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public Storage storage()
public ServerPropertiesForUpdate withStorage(Storage storage)
storage - the storage value to set.public Backup backup()
public ServerPropertiesForUpdate withBackup(Backup backup)
backup - the backup value to set.public HighAvailability highAvailability()
public ServerPropertiesForUpdate withHighAvailability(HighAvailability highAvailability)
highAvailability - the highAvailability value to set.public MaintenanceWindow maintenanceWindow()
public ServerPropertiesForUpdate withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
maintenanceWindow - the maintenanceWindow value to set.public CreateModeForUpdate createMode()
public ServerPropertiesForUpdate withCreateMode(CreateModeForUpdate createMode)
createMode - the createMode value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.