ServerUpdateParametersProperties Class
- java.
lang. Object - com.
azure. resourcemanager. postgresql. fluent. models. ServerUpdateParametersProperties
- com.
Implements
public final class ServerUpdateParametersProperties
implements JsonSerializable<ServerUpdateParametersProperties>
The properties that can be updated for a server.
Constructor Summary
| Constructor | Description |
|---|---|
| ServerUpdateParametersProperties() |
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 |
|
Minimal |
minimalTlsVersion()
Get the minimal |
|
Public |
publicNetworkAccess()
Get the public |
| String |
replicationRole()
Get the replication |
|
Ssl |
sslEnforcement()
Get the ssl |
|
Storage |
storageProfile()
Get the storage |
|
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 |
withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimal |
|
Server |
withPublicNetworkAccess(PublicNetworkAccessEnum publicNetworkAccess)
Set the public |
|
Server |
withReplicationRole(String replicationRole)
Set the replication |
|
Server |
withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the ssl |
|
Server |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
|
Server |
withVersion(ServerVersion version)
Set the version property: The version of a server. |
Methods inherited from java.lang.Object
Constructor Details
ServerUpdateParametersProperties
public ServerUpdateParametersProperties()
Creates an instance of ServerUpdateParametersProperties class.
Method Details
administratorLoginPassword
public String administratorLoginPassword()
Get the administratorLoginPassword property: The password of the administrator login.
Returns:
fromJson
public static ServerUpdateParametersProperties fromJson(JsonReader jsonReader)
Reads an instance of ServerUpdateParametersProperties from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
toJson
validate
public void validate()
Validates the instance.
version
public ServerVersion version()
Get the version property: The version of a server.
Returns:
withAdministratorLoginPassword
public ServerUpdateParametersProperties withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The password of the administrator login.
Parameters:
Returns:
withMinimalTlsVersion
public ServerUpdateParametersProperties withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
Parameters:
Returns:
withPublicNetworkAccess
public ServerUpdateParametersProperties 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 ServerUpdateParametersProperties withReplicationRole(String replicationRole)
Set the replicationRole property: The replication role of the server.
Parameters:
Returns:
withSslEnforcement
public ServerUpdateParametersProperties withSslEnforcement(SslEnforcementEnum sslEnforcement)
Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
Parameters:
Returns:
withStorageProfile
public ServerUpdateParametersProperties withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile of a server.
Parameters:
Returns:
withVersion
public ServerUpdateParametersProperties withVersion(ServerVersion version)
Set the version property: The version of a server.
Parameters:
Returns: