ServerUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. models. ServerUpdateParameters
- com.
Implements
public final class ServerUpdateParameters
implements JsonSerializable<ServerUpdateParameters>
Parameters allowed to update for a server.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerUpdateParameters() |
Creates an instance of Server |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
administratorLoginPassword()
Get the administrator |
|
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
|
Resource |
identity()
Get the identity property: The Azure Active Directory identity of the server. |
|
Minimal |
minimalTlsVersion()
Get the minimal |
|
Public |
publicNetworkAccess()
Get the public |
| String |
replicationRole()
Get the replication |
| Sku |
sku()
Get the sku property: The SKU (pricing tier) of the server. |
|
Ssl |
sslEnforcement()
Get the ssl |
|
Storage |
storageProfile()
Get the storage |
| Map<String,String> |
tags()
Get the tags property: Application-specific metadata in the form of key-value pairs. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Server |
version()
Get the version property: The version of a server. |
|
Server |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator |
|
Server |
withIdentity(ResourceIdentity identity)
Set the identity property: The Azure Active Directory identity of the server. |
|
Server |
withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimal |
|
Server |
withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
Set the public |
|
Server |
withReplicationRole(String replicationRole)
Set the replication |
|
Server |
withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server. |
|
Server |
withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the ssl |
|
Server |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
|
Server |
withTags(Map<String,String> tags)
Set the tags property: Application-specific metadata in the form of key-value pairs. |
|
Server |
withVersion(ServerVersion version)
Set the version property: The version of a server. |
Methods inherited from java.lang.Object
Constructor Details
ServerUpdateParameters
public ServerUpdateParameters()
Creates an instance of ServerUpdateParameters class.
Method Details
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The password of the administrator login.
Returns:
fromJson
public static ServerUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of ServerUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ResourceIdentity identity()
Get the identity property: The Azure Active Directory identity of the server.
Returns:
minimalTlsVersion
public MinimalTlsVersionEnum minimalTlsVersion()
Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Returns:
publicNetworkAccess
public PublicNetworkAccessEnum 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:
replicationRole
public String replicationRole()
Get the replicationRole property: The replication role of the server.
Returns:
sku
public Sku sku()
Get the sku property: The SKU (pricing tier) of the server.
Returns:
sslEnforcement
public SslEnforcementEnum sslEnforcement()
Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage profile of a server.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Application-specific metadata in the form of key-value pairs.
Returns:
toJson
validate
public void validate()
Validates the instance.
version
public ServerVersion version()
Get the version property: The version of a server.
Returns:
withAdministratorLoginPassword
public ServerUpdateParameters withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the administrator login.
Parameters:
Returns:
withIdentity
public ServerUpdateParameters withIdentity(ResourceIdentity identity)
Set the identity property: The Azure Active Directory identity of the server.
Parameters:
Returns:
withMinimalTlsVersion
public ServerUpdateParameters withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Parameters:
Returns:
withPublicNetworkAccess
public ServerUpdateParameters withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
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:
Returns:
withReplicationRole
public ServerUpdateParameters withReplicationRole(String replicationRole)
Set the replicationRole property: The replication role of the server.
Parameters:
Returns:
withSku
public ServerUpdateParameters withSku(Sku sku)
Set the sku property: The SKU (pricing tier) of the server.
Parameters:
Returns:
withSslEnforcement
public ServerUpdateParameters withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Parameters:
Returns:
withStorageProfile
public ServerUpdateParameters withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile of a server.
Parameters:
Returns:
withTags
public ServerUpdateParameters withTags(Map<String,String> tags)
Set the tags property: Application-specific metadata in the form of key-value pairs.
Parameters:
Returns:
withVersion
public ServerUpdateParameters withVersion(ServerVersion version)
Set the version property: The version of a server.
Parameters:
Returns: