Class DB2ProviderInstanceProperties
java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.DB2ProviderInstanceProperties
Gets or sets the DB2 provider properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondbName()
Get the dbName property: Gets or sets the db2 database name.Get the dbPassword property: Gets or sets the db2 database password.Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.dbPort()
Get the dbPort property: Gets or sets the db2 database sql port.Get the dbUsername property: Gets or sets the db2 database user name.hostname()
Get the hostname property: Gets or sets the target virtual machine name.sapSid()
Get the sapSid property: Gets or sets the SAP System Identifier.void
validate()
Validates the instance.withDbName
(String dbName) Set the dbName property: Gets or sets the db2 database name.withDbPassword
(String dbPassword) Set the dbPassword property: Gets or sets the db2 database password.withDbPasswordUri
(String dbPasswordUri) Set the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.withDbPort
(String dbPort) Set the dbPort property: Gets or sets the db2 database sql port.withDbUsername
(String dbUsername) Set the dbUsername property: Gets or sets the db2 database user name.withHostname
(String hostname) Set the hostname property: Gets or sets the target virtual machine name.withSapSid
(String sapSid) Set the sapSid property: Gets or sets the SAP System Identifier.
-
Constructor Details
-
DB2ProviderInstanceProperties
public DB2ProviderInstanceProperties()
-
-
Method Details
-
hostname
Get the hostname property: Gets or sets the target virtual machine name.- Returns:
- the hostname value.
-
withHostname
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
Get the dbName property: Gets or sets the db2 database name.- Returns:
- the dbName value.
-
withDbName
Set the dbName property: Gets or sets the db2 database name.- Parameters:
dbName
- the dbName value to set.- Returns:
- the DB2ProviderInstanceProperties object itself.
-
dbPort
Get the dbPort property: Gets or sets the db2 database sql port.- Returns:
- the dbPort value.
-
withDbPort
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
Get the dbUsername property: Gets or sets the db2 database user name.- Returns:
- the dbUsername value.
-
withDbUsername
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
Get the dbPassword property: Gets or sets the db2 database password.- Returns:
- the dbPassword value.
-
withDbPassword
Set the dbPassword property: Gets or sets the db2 database password.- Parameters:
dbPassword
- the dbPassword value to set.- Returns:
- the DB2ProviderInstanceProperties object itself.
-
dbPasswordUri
Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.- Returns:
- the dbPasswordUri value.
-
withDbPasswordUri
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
Get the sapSid property: Gets or sets the SAP System Identifier.- Returns:
- the sapSid value.
-
withSapSid
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 classProviderSpecificProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-