public static final class CfnApplication.HAClusterPrometheusExporterProperty.Builder
extends java.lang.Object
CfnApplication.HAClusterPrometheusExporterProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplication.HAClusterPrometheusExporterProperty |
build()
Builds the configured instance.
|
CfnApplication.HAClusterPrometheusExporterProperty.Builder |
prometheusPort(java.lang.String prometheusPort)
Sets the value of
CfnApplication.HAClusterPrometheusExporterProperty.getPrometheusPort() |
public CfnApplication.HAClusterPrometheusExporterProperty.Builder prometheusPort(java.lang.String prometheusPort)
CfnApplication.HAClusterPrometheusExporterProperty.getPrometheusPort()
prometheusPort
- The target port to which Prometheus sends metrics.
If not specified, the default port 9668 is used.this
public CfnApplication.HAClusterPrometheusExporterProperty build()
CfnApplication.HAClusterPrometheusExporterProperty
java.lang.NullPointerException
- if any required attribute was not provided