public final class ServerForUpdate extends Object
| Constructor and Description |
|---|
ServerForUpdate() |
| 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.
|
String |
location()
Get the location property: The location the resource resides in.
|
MaintenanceWindow |
maintenanceWindow()
Get the maintenanceWindow property: Maintenance window properties of a server.
|
Sku |
sku()
Get the sku property: The SKU (pricing tier) of the server.
|
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.
|
ServerForUpdate |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the administrator login.
|
ServerForUpdate |
withBackup(Backup backup)
Set the backup property: Backup properties of a server.
|
ServerForUpdate |
withCreateMode(CreateModeForUpdate createMode)
Set the createMode property: The mode to update a new PostgreSQL server.
|
ServerForUpdate |
withHighAvailability(HighAvailability highAvailability)
Set the highAvailability property: High availability properties of a server.
|
ServerForUpdate |
withLocation(String location)
Set the location property: The location the resource resides in.
|
ServerForUpdate |
withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
Set the maintenanceWindow property: Maintenance window properties of a server.
|
ServerForUpdate |
withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server.
|
ServerForUpdate |
withStorage(Storage storage)
Set the storage property: Storage properties of a server.
|
ServerForUpdate |
withTags(Map<String,String> tags)
Set the tags property: Application-specific metadata in the form of key-value pairs.
|
public String location()
public ServerForUpdate withLocation(String location)
location - the location value to set.public Sku sku()
public ServerForUpdate withSku(Sku sku)
sku - the sku value to set.public Map<String,String> tags()
public ServerForUpdate withTags(Map<String,String> tags)
tags - the tags value to set.public String administratorLoginPassword()
public ServerForUpdate withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public Storage storage()
public ServerForUpdate withStorage(Storage storage)
storage - the storage value to set.public Backup backup()
public ServerForUpdate withBackup(Backup backup)
backup - the backup value to set.public HighAvailability highAvailability()
public ServerForUpdate withHighAvailability(HighAvailability highAvailability)
highAvailability - the highAvailability value to set.public MaintenanceWindow maintenanceWindow()
public ServerForUpdate withMaintenanceWindow(MaintenanceWindow maintenanceWindow)
maintenanceWindow - the maintenanceWindow value to set.public CreateModeForUpdate createMode()
public ServerForUpdate withCreateMode(CreateModeForUpdate createMode)
createMode - the createMode value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.