Class ServerUpdateParameters
java.lang.Object
com.azure.resourcemanager.mariadb.models.ServerUpdateParameters
Parameters allowed to update for a server.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ServerUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the administratorLoginPassword property: The password of the administrator login.Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.Get the publicNetworkAccess property: Whether or not public network access is allowed for this server.Get the replicationRole property: The replication role of the server.sku()
Get the sku property: The SKU (pricing tier) of the server.Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.Get the storageProfile property: Storage profile 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: The version of a server.withAdministratorLoginPassword
(String administratorLoginPassword) Set the administratorLoginPassword property: The password of the administrator login.withMinimalTlsVersion
(MinimalTlsVersionEnum minimalTlsVersion) Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.withPublicNetworkAccess
(PublicNetworkAccessEnum publicNetworkAccess) Set the publicNetworkAccess property: Whether or not public network access is allowed for this server.withReplicationRole
(String replicationRole) Set the replicationRole property: The replication role of the server.Set the sku property: The SKU (pricing tier) of the server.withSslEnforcement
(SslEnforcementEnum sslEnforcement) Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.withStorageProfile
(StorageProfile storageProfile) Set the storageProfile property: Storage profile of a server.Set the tags property: Application-specific metadata in the form of key-value pairs.withVersion
(ServerVersion version) Set the version property: The version of a server.
-
Constructor Details
-
ServerUpdateParameters
public ServerUpdateParameters()Creates an instance of ServerUpdateParameters class.
-
-
Method Details
-
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 ServerUpdateParameters 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 ServerUpdateParameters object itself.
-
storageProfile
Get the storageProfile property: Storage profile of a server.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Storage profile of a server.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the ServerUpdateParameters 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 ServerUpdateParameters object itself.
-
version
Get the version property: The version of a server.- Returns:
- the version value.
-
withVersion
Set the version property: The version of a server.- Parameters:
version
- the version value to set.- Returns:
- the ServerUpdateParameters object itself.
-
sslEnforcement
Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.- Returns:
- the sslEnforcement value.
-
withSslEnforcement
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.- Parameters:
sslEnforcement
- the sslEnforcement value to set.- Returns:
- the ServerUpdateParameters object itself.
-
minimalTlsVersion
Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.- Returns:
- the minimalTlsVersion value.
-
withMinimalTlsVersion
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.- Parameters:
minimalTlsVersion
- the minimalTlsVersion value to set.- Returns:
- the ServerUpdateParameters object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the ServerUpdateParameters 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 ServerUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-