Class ServerForUpdate
java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.ServerForUpdate
Parameters allowed to update for a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the administratorLoginPassword property: The password of the administrator login.backup()
Get the backup property: Backup related properties of a server.Get the dataEncryption property: The Data Encryption for CMK.Get the highAvailability property: High availability related properties of a server.identity()
Get the identity property: The cmk identity for the server.Get the maintenanceWindow property: Maintenance window of a server.Get the replicationRole property: The replication role of the server.sku()
Get the sku property: The SKU (pricing tier) of the server.storage()
Get the storage property: Storage related properties of a server.tags()
Get the tags property: Application-specific metadata in the form of key-value pairs.void
validate()
Validates the instance.version()
Get the version property: Server version.withAdministratorLoginPassword
(String administratorLoginPassword) Set the administratorLoginPassword property: The password of the administrator login.withBackup
(Backup backup) Set the backup property: Backup related properties of a server.withDataEncryption
(DataEncryption dataEncryption) Set the dataEncryption property: The Data Encryption for CMK.withHighAvailability
(HighAvailability highAvailability) Set the highAvailability property: High availability related properties of a server.withIdentity
(Identity identity) Set the identity property: The cmk identity for the server.withMaintenanceWindow
(MaintenanceWindow maintenanceWindow) Set the maintenanceWindow property: Maintenance window of a server.withReplicationRole
(ReplicationRole replicationRole) Set the replicationRole property: The replication role of the server.Set the sku property: The SKU (pricing tier) of the server.withStorage
(Storage storage) Set the storage property: Storage related properties of a server.Set the tags property: Application-specific metadata in the form of key-value pairs.withVersion
(ServerVersion version) Set the version property: Server version.
-
Constructor Details
-
ServerForUpdate
public ServerForUpdate()Creates an instance of ServerForUpdate class.
-
-
Method Details
-
identity
Get the identity property: The cmk identity for the server.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The cmk identity for the server.- Parameters:
identity
- the identity value to set.- Returns:
- the ServerForUpdate object itself.
-
sku
Get the sku property: The SKU (pricing tier) of the server.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU (pricing tier) of the server.- Parameters:
sku
- the sku value to set.- Returns:
- the ServerForUpdate object itself.
-
tags
Get the tags property: Application-specific metadata in the form of key-value pairs.- Returns:
- the tags value.
-
withTags
Set the tags property: Application-specific metadata in the form of key-value pairs.- Parameters:
tags
- the tags value to set.- Returns:
- the ServerForUpdate object itself.
-
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 ServerForUpdate object itself.
-
version
Get the version property: Server version.- Returns:
- the version value.
-
withVersion
Set the version property: Server version.- Parameters:
version
- the version value to set.- Returns:
- the ServerForUpdate object itself.
-
storage
Get the storage property: Storage related properties of a server.- Returns:
- the storage value.
-
withStorage
Set the storage property: Storage related properties of a server.- Parameters:
storage
- the storage value to set.- Returns:
- the ServerForUpdate object itself.
-
backup
Get the backup property: Backup related properties of a server.- Returns:
- the backup value.
-
withBackup
Set the backup property: Backup related properties of a server.- Parameters:
backup
- the backup value to set.- Returns:
- the ServerForUpdate object itself.
-
highAvailability
Get the highAvailability property: High availability related properties of a server.- Returns:
- the highAvailability value.
-
withHighAvailability
Set the highAvailability property: High availability related properties of a server.- Parameters:
highAvailability
- the highAvailability value to set.- Returns:
- the ServerForUpdate object itself.
-
maintenanceWindow
Get the maintenanceWindow property: Maintenance window of a server.- Returns:
- the maintenanceWindow value.
-
withMaintenanceWindow
Set the maintenanceWindow property: Maintenance window of a server.- Parameters:
maintenanceWindow
- the maintenanceWindow value to set.- Returns:
- the ServerForUpdate object itself.
-
replicationRole
Get the replicationRole property: The replication role of the server.- Returns:
- the replicationRole value.
-
withReplicationRole
Set the replicationRole property: The replication role of the server.- Parameters:
replicationRole
- the replicationRole value to set.- Returns:
- the ServerForUpdate object itself.
-
dataEncryption
Get the dataEncryption property: The Data Encryption for CMK.- Returns:
- the dataEncryption value.
-
withDataEncryption
Set the dataEncryption property: The Data Encryption for CMK.- Parameters:
dataEncryption
- the dataEncryption value to set.- Returns:
- the ServerForUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-