public static final class CfnApplication.HANAPrometheusExporterProperty.Builder
extends java.lang.Object
CfnApplication.HANAPrometheusExporterProperty
Constructor and Description |
---|
Builder() |
public CfnApplication.HANAPrometheusExporterProperty.Builder agreeToInstallHanadbClient(java.lang.Boolean agreeToInstallHanadbClient)
agreeToInstallHanadbClient
- Designates whether you agree to install the HANA DB client. This parameter is required.this
public CfnApplication.HANAPrometheusExporterProperty.Builder agreeToInstallHanadbClient(IResolvable agreeToInstallHanadbClient)
agreeToInstallHanadbClient
- Designates whether you agree to install the HANA DB client. This parameter is required.this
public CfnApplication.HANAPrometheusExporterProperty.Builder hanaPort(java.lang.String hanaPort)
CfnApplication.HANAPrometheusExporterProperty.getHanaPort()
hanaPort
- The HANA database port by which the exporter will query HANA metrics. This parameter is required.this
public CfnApplication.HANAPrometheusExporterProperty.Builder hanaSecretName(java.lang.String hanaSecretName)
CfnApplication.HANAPrometheusExporterProperty.getHanaSecretName()
hanaSecretName
- The AWS Secrets Manager secret that stores HANA monitoring user credentials. This parameter is required.
The HANA Prometheus exporter uses these credentials to connect to the database and query HANA metrics.this
public CfnApplication.HANAPrometheusExporterProperty.Builder hanasid(java.lang.String hanasid)
CfnApplication.HANAPrometheusExporterProperty.getHanasid()
hanasid
- The three-character SAP system ID (SID) of the SAP HANA system. This parameter is required.this
public CfnApplication.HANAPrometheusExporterProperty.Builder prometheusPort(java.lang.String prometheusPort)
CfnApplication.HANAPrometheusExporterProperty.getPrometheusPort()
prometheusPort
- The target port to which Prometheus sends metrics.
If not specified, the default port 9668 is used.this
public CfnApplication.HANAPrometheusExporterProperty build()
CfnApplication.HANAPrometheusExporterProperty
java.lang.NullPointerException
- if any required attribute was not provided