Class DB2ProviderInstanceProperties

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

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

    • DB2ProviderInstanceProperties

      public DB2ProviderInstanceProperties()
  • Method Details

    • hostname

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

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

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

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

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

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

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

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

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

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

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

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

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