Class HanaDbProviderInstanceProperties

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

public final class HanaDbProviderInstanceProperties extends ProviderSpecificProperties
Gets or sets the provider properties.
  • Constructor Details

    • HanaDbProviderInstanceProperties

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

    • hostname

      public String hostname()
      Get the hostname property: Gets or sets the target virtual machine size.
      Returns:
      the hostname value.
    • withHostname

      public HanaDbProviderInstanceProperties withHostname(String hostname)
      Set the hostname property: Gets or sets the target virtual machine size.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the HanaDbProviderInstanceProperties object itself.
    • dbName

      public String dbName()
      Get the dbName property: Gets or sets the hana database name.
      Returns:
      the dbName value.
    • withDbName

      public HanaDbProviderInstanceProperties withDbName(String dbName)
      Set the dbName property: Gets or sets the hana database name.
      Parameters:
      dbName - the dbName value to set.
      Returns:
      the HanaDbProviderInstanceProperties object itself.
    • sqlPort

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

      public HanaDbProviderInstanceProperties withSqlPort(String sqlPort)
      Set the sqlPort property: Gets or sets the database sql port.
      Parameters:
      sqlPort - the sqlPort value to set.
      Returns:
      the HanaDbProviderInstanceProperties object itself.
    • instanceNumber

      public String instanceNumber()
      Get the instanceNumber property: Gets or sets the database instance number.
      Returns:
      the instanceNumber value.
    • withInstanceNumber

      public HanaDbProviderInstanceProperties withInstanceNumber(String instanceNumber)
      Set the instanceNumber property: Gets or sets the database instance number.
      Parameters:
      instanceNumber - the instanceNumber value to set.
      Returns:
      the HanaDbProviderInstanceProperties object itself.
    • dbUsername

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

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

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

      public HanaDbProviderInstanceProperties withDbPassword(String dbPassword)
      Set the dbPassword property: Gets or sets the database password.
      Parameters:
      dbPassword - the dbPassword value to set.
      Returns:
      the HanaDbProviderInstanceProperties 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 HanaDbProviderInstanceProperties 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 HanaDbProviderInstanceProperties object itself.
    • sslCertificateUri

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

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

      public String sslHostnameInCertificate()
      Get the sslHostnameInCertificate property: Gets or sets the hostname(s) in the SSL certificate.
      Returns:
      the sslHostnameInCertificate value.
    • withSslHostnameInCertificate

      public HanaDbProviderInstanceProperties withSslHostnameInCertificate(String sslHostnameInCertificate)
      Set the sslHostnameInCertificate property: Gets or sets the hostname(s) in the SSL certificate.
      Parameters:
      sslHostnameInCertificate - the sslHostnameInCertificate value to set.
      Returns:
      the HanaDbProviderInstanceProperties 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 HanaDbProviderInstanceProperties 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 HanaDbProviderInstanceProperties object itself.
    • sapSid

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

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

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