Class ServerPropertiesForUpdate
java.lang.Object
com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.ServerPropertiesForUpdate
The ServerPropertiesForUpdate model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServerPropertiesForUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorLoginPassword property: The password of the administrator login.Get the authConfig property: AuthConfig properties of a server.backup()Get the backup property: Backup properties of a server.Get the createMode property: The mode to update a new PostgreSQL server.Get the dataEncryption property: Data encryption properties of a server.Get the highAvailability property: High availability properties of a server.Get the maintenanceWindow property: Maintenance window properties of a server.network()Get the network property: Network properties of a server.Get the replicationRole property: Replication role of the server.storage()Get the storage property: Storage properties of a server.voidvalidate()Validates the instance.version()Get the version property: PostgreSQL Server version.withAdministratorLoginPassword(String administratorLoginPassword) Set the administratorLoginPassword property: The password of the administrator login.withAuthConfig(AuthConfig authConfig) Set the authConfig property: AuthConfig properties of a server.withBackup(Backup backup) Set the backup property: Backup properties of a server.withCreateMode(CreateModeForUpdate createMode) Set the createMode property: The mode to update a new PostgreSQL server.withDataEncryption(DataEncryption dataEncryption) Set the dataEncryption property: Data encryption properties of a server.withHighAvailability(HighAvailability highAvailability) Set the highAvailability property: High availability properties of a server.withMaintenanceWindow(MaintenanceWindow maintenanceWindow) Set the maintenanceWindow property: Maintenance window properties of a server.withNetwork(Network network) Set the network property: Network properties of a server.withReplicationRole(ReplicationRole replicationRole) Set the replicationRole property: Replication role of the server.withStorage(Storage storage) Set the storage property: Storage properties of a server.withVersion(ServerVersion version) Set the version property: PostgreSQL Server version.
-
Constructor Details
-
ServerPropertiesForUpdate
public ServerPropertiesForUpdate()Creates an instance of ServerPropertiesForUpdate class.
-
-
Method Details
-
administratorLoginPassword
Get the administratorLoginPassword property: The password of the administrator login.- Returns:
- the administratorLoginPassword value.
-
withAdministratorLoginPassword
Set the administratorLoginPassword property: The password of the administrator login.- Parameters:
administratorLoginPassword- the administratorLoginPassword value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
version
Get the version property: PostgreSQL Server version.- Returns:
- the version value.
-
withVersion
Set the version property: PostgreSQL Server version.- Parameters:
version- the version value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
storage
Get the storage property: Storage properties of a server.- Returns:
- the storage value.
-
withStorage
Set the storage property: Storage properties of a server.- Parameters:
storage- the storage value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
backup
Get the backup property: Backup properties of a server.- Returns:
- the backup value.
-
withBackup
Set the backup property: Backup properties of a server.- Parameters:
backup- the backup value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
highAvailability
Get the highAvailability property: High availability properties of a server.- Returns:
- the highAvailability value.
-
withHighAvailability
Set the highAvailability property: High availability properties of a server.- Parameters:
highAvailability- the highAvailability value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
maintenanceWindow
Get the maintenanceWindow property: Maintenance window properties of a server.- Returns:
- the maintenanceWindow value.
-
withMaintenanceWindow
Set the maintenanceWindow property: Maintenance window properties of a server.- Parameters:
maintenanceWindow- the maintenanceWindow value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
authConfig
Get the authConfig property: AuthConfig properties of a server.- Returns:
- the authConfig value.
-
withAuthConfig
Set the authConfig property: AuthConfig properties of a server.- Parameters:
authConfig- the authConfig value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
dataEncryption
Get the dataEncryption property: Data encryption properties of a server.- Returns:
- the dataEncryption value.
-
withDataEncryption
Set the dataEncryption property: Data encryption properties of a server.- Parameters:
dataEncryption- the dataEncryption value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
createMode
Get the createMode property: The mode to update a new PostgreSQL server.- Returns:
- the createMode value.
-
withCreateMode
Set the createMode property: The mode to update a new PostgreSQL server.- Parameters:
createMode- the createMode value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
replicationRole
Get the replicationRole property: Replication role of the server.- Returns:
- the replicationRole value.
-
withReplicationRole
Set the replicationRole property: Replication role of the server.- Parameters:
replicationRole- the replicationRole value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
network
Get the network property: Network properties of a server. These are required to be passed only in case if server is a private access server.- Returns:
- the network value.
-
withNetwork
Set the network property: Network properties of a server. These are required to be passed only in case if server is a private access server.- Parameters:
network- the network value to set.- Returns:
- the ServerPropertiesForUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-