Class HanaDbProviderInstanceProperties
java.lang.Object
com.azure.resourcemanager.workloads.models.ProviderSpecificProperties
com.azure.resourcemanager.workloads.models.HanaDbProviderInstanceProperties
Gets or sets the provider properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondbName()
Get the dbName property: Gets or sets the hana database name.Get the dbPassword property: Gets or sets the database password.Get the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.Get the dbSslCertificateUri property: Gets or sets the blob URI to SSL certificate for the DB.Get the dbUsername property: Gets or sets the database user name.hostname()
Get the hostname property: Gets or sets the target virtual machine size.Get the instanceNumber property: Gets or sets the database instance number.sqlPort()
Get the sqlPort property: Gets or sets the database sql port.Get the sslHostnameInCertificate property: Gets or sets the hostname(s) in the SSL certificate.void
validate()
Validates the instance.withDbName
(String dbName) Set the dbName property: Gets or sets the hana database name.withDbPassword
(String dbPassword) Set the dbPassword property: Gets or sets the database password.withDbPasswordUri
(String dbPasswordUri) Set the dbPasswordUri property: Gets or sets the key vault URI to secret with the database password.withDbSslCertificateUri
(String dbSslCertificateUri) Set the dbSslCertificateUri property: Gets or sets the blob URI to SSL certificate for the DB.withDbUsername
(String dbUsername) Set the dbUsername property: Gets or sets the database user name.withHostname
(String hostname) Set the hostname property: Gets or sets the target virtual machine size.withInstanceNumber
(String instanceNumber) Set the instanceNumber property: Gets or sets the database instance number.withSqlPort
(String sqlPort) Set the sqlPort property: Gets or sets the database sql port.withSslHostnameInCertificate
(String sslHostnameInCertificate) Set the sslHostnameInCertificate property: Gets or sets the hostname(s) in the SSL certificate.
-
Constructor Details
-
HanaDbProviderInstanceProperties
public HanaDbProviderInstanceProperties()
-
-
Method Details
-
hostname
Get the hostname property: Gets or sets the target virtual machine size.- Returns:
- the hostname value.
-
withHostname
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
Get the dbName property: Gets or sets the hana database name.- Returns:
- the dbName value.
-
withDbName
Set the dbName property: Gets or sets the hana database name.- Parameters:
dbName
- the dbName value to set.- Returns:
- the HanaDbProviderInstanceProperties object itself.
-
sqlPort
Get the sqlPort property: Gets or sets the database sql port.- Returns:
- the sqlPort value.
-
withSqlPort
Set the sqlPort property: Gets or sets the database sql port.- Parameters:
sqlPort
- the sqlPort value to set.- Returns:
- the HanaDbProviderInstanceProperties object itself.
-
instanceNumber
Get the instanceNumber property: Gets or sets the database instance number.- Returns:
- the instanceNumber value.
-
withInstanceNumber
Set the instanceNumber property: Gets or sets the database instance number.- Parameters:
instanceNumber
- the instanceNumber value to set.- Returns:
- the HanaDbProviderInstanceProperties object itself.
-
dbUsername
Get the dbUsername property: Gets or sets the database user name.- Returns:
- the dbUsername value.
-
withDbUsername
Set the dbUsername property: Gets or sets the database user name.- Parameters:
dbUsername
- the dbUsername value to set.- Returns:
- the HanaDbProviderInstanceProperties object itself.
-
dbPassword
Get the dbPassword property: Gets or sets the database password.- Returns:
- the dbPassword value.
-
withDbPassword
Set the dbPassword property: Gets or sets the database password.- Parameters:
dbPassword
- the dbPassword value to set.- Returns:
- the HanaDbProviderInstanceProperties 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 HanaDbProviderInstanceProperties object itself.
-
dbSslCertificateUri
Get the dbSslCertificateUri property: Gets or sets the blob URI to SSL certificate for the DB.- Returns:
- the dbSslCertificateUri value.
-
withDbSslCertificateUri
Set the dbSslCertificateUri property: Gets or sets the blob URI to SSL certificate for the DB.- Parameters:
dbSslCertificateUri
- the dbSslCertificateUri value to set.- Returns:
- the HanaDbProviderInstanceProperties object itself.
-
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.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProviderSpecificProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-