Class ServerUpdateParametersProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.ServerUpdateParametersProperties

public final class ServerUpdateParametersProperties extends Object
The properties that can be updated for a server.
  • Constructor Details

    • ServerUpdateParametersProperties

      public ServerUpdateParametersProperties()
      Creates an instance of ServerUpdateParametersProperties class.
  • Method Details

    • storageProfile

      public StorageProfile storageProfile()
      Get the storageProfile property: Storage profile of a server.
      Returns:
      the storageProfile value.
    • withStorageProfile

      public ServerUpdateParametersProperties withStorageProfile(StorageProfile storageProfile)
      Set the storageProfile property: Storage profile of a server.
      Parameters:
      storageProfile - the storageProfile value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • administratorLoginPassword

      public String administratorLoginPassword()
      Get the administratorLoginPassword property: The password of the administrator login.
      Returns:
      the administratorLoginPassword value.
    • withAdministratorLoginPassword

      public ServerUpdateParametersProperties withAdministratorLoginPassword(String administratorLoginPassword)
      Set the administratorLoginPassword property: The password of the administrator login.
      Parameters:
      administratorLoginPassword - the administratorLoginPassword value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • version

      public ServerVersion version()
      Get the version property: The version of a server.
      Returns:
      the version value.
    • withVersion

      public ServerUpdateParametersProperties withVersion(ServerVersion version)
      Set the version property: The version of a server.
      Parameters:
      version - the version value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • sslEnforcement

      public SslEnforcementEnum sslEnforcement()
      Get the sslEnforcement property: Enable ssl enforcement or not when connect to server.
      Returns:
      the sslEnforcement value.
    • withSslEnforcement

      public ServerUpdateParametersProperties withSslEnforcement(SslEnforcementEnum sslEnforcement)
      Set the sslEnforcement property: Enable ssl enforcement or not when connect to server.
      Parameters:
      sslEnforcement - the sslEnforcement value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • minimalTlsVersion

      public MinimalTlsVersionEnum minimalTlsVersion()
      Get the minimalTlsVersion property: Enforce a minimal Tls version for the server.
      Returns:
      the minimalTlsVersion value.
    • withMinimalTlsVersion

      public ServerUpdateParametersProperties withMinimalTlsVersion(MinimalTlsVersionEnum minimalTlsVersion)
      Set the minimalTlsVersion property: Enforce a minimal Tls version for the server.
      Parameters:
      minimalTlsVersion - the minimalTlsVersion value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • 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:
      the publicNetworkAccess value.
    • 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:
      publicNetworkAccess - the publicNetworkAccess value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • replicationRole

      public String replicationRole()
      Get the replicationRole property: The replication role of the server.
      Returns:
      the replicationRole value.
    • withReplicationRole

      public ServerUpdateParametersProperties withReplicationRole(String replicationRole)
      Set the replicationRole property: The replication role of the server.
      Parameters:
      replicationRole - the replicationRole value to set.
      Returns:
      the ServerUpdateParametersProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.