Class MsSqlServerProviderInstanceProperties

java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.MsSqlServerProviderInstanceProperties

public final class MsSqlServerProviderInstanceProperties extends ProviderSpecificProperties
Gets or sets the SQL server provider properties.
  • Constructor Details

    • MsSqlServerProviderInstanceProperties

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

    • hostname

      public String hostname()
      Get the hostname property: Gets or sets the SQL server host name.
      Returns:
      the hostname value.
    • withHostname

      public MsSqlServerProviderInstanceProperties withHostname(String hostname)
      Set the hostname property: Gets or sets the SQL server host name.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • dbPort

      public String dbPort()
      Get the dbPort property: Gets or sets the database sql port.
      Returns:
      the dbPort value.
    • withDbPort

      public MsSqlServerProviderInstanceProperties withDbPort(String dbPort)
      Set the dbPort property: Gets or sets the database sql port.
      Parameters:
      dbPort - the dbPort value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • dbUsername

      public String dbUsername()
      Get the dbUsername property: Gets or sets the database user name.
      Returns:
      the dbUsername value.
    • withDbUsername

      public MsSqlServerProviderInstanceProperties withDbUsername(String dbUsername)
      Set the dbUsername property: Gets or sets the database user name.
      Parameters:
      dbUsername - the dbUsername value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • dbPassword

      public String dbPassword()
      Get the dbPassword property: Gets or sets the database password.
      Returns:
      the dbPassword value.
    • withDbPassword

      public MsSqlServerProviderInstanceProperties withDbPassword(String dbPassword)
      Set the dbPassword property: Gets or sets the database password.
      Parameters:
      dbPassword - the dbPassword value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • dbPasswordUri

      public String dbPasswordUri()
      Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.
      Returns:
      the dbPasswordUri value.
    • withDbPasswordUri

      public MsSqlServerProviderInstanceProperties withDbPasswordUri(String dbPasswordUri)
      Set the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.
      Parameters:
      dbPasswordUri - the dbPasswordUri value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • sapSid

      public String sapSid()
      Get the sapSid property: Gets or sets the SAP System Identifier.
      Returns:
      the sapSid value.
    • withSapSid

      public MsSqlServerProviderInstanceProperties withSapSid(String sapSid)
      Set the sapSid property: Gets or sets the SAP System Identifier.
      Parameters:
      sapSid - the sapSid value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • sslPreference

      public SslPreference sslPreference()
      Get the sslPreference property: Gets or sets certificate preference if secure communication is enabled.
      Returns:
      the sslPreference value.
    • withSslPreference

      public MsSqlServerProviderInstanceProperties withSslPreference(SslPreference sslPreference)
      Set the sslPreference property: Gets or sets certificate preference if secure communication is enabled.
      Parameters:
      sslPreference - the sslPreference value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • sslCertificateUri

      public String sslCertificateUri()
      Get the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the SQL Database.
      Returns:
      the sslCertificateUri value.
    • withSslCertificateUri

      public MsSqlServerProviderInstanceProperties withSslCertificateUri(String sslCertificateUri)
      Set the sslCertificateUri property: Gets or sets the blob URI to SSL certificate for the SQL Database.
      Parameters:
      sslCertificateUri - the sslCertificateUri value to set.
      Returns:
      the MsSqlServerProviderInstanceProperties object itself.
    • validate

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