@Stability(value=Stable) public static final class CfnApplication.JMXPrometheusExporterProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication.JMXPrometheusExporterProperty>
CfnApplication.JMXPrometheusExporterProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplication.JMXPrometheusExporterProperty |
build()
Builds the configured instance.
|
CfnApplication.JMXPrometheusExporterProperty.Builder |
hostPort(String hostPort)
Sets the value of
CfnApplication.JMXPrometheusExporterProperty.getHostPort() |
CfnApplication.JMXPrometheusExporterProperty.Builder |
jmxurl(String jmxurl)
Sets the value of
CfnApplication.JMXPrometheusExporterProperty.getJmxurl() |
CfnApplication.JMXPrometheusExporterProperty.Builder |
prometheusPort(String prometheusPort)
Sets the value of
CfnApplication.JMXPrometheusExporterProperty.getPrometheusPort() |
@Stability(value=Stable) public CfnApplication.JMXPrometheusExporterProperty.Builder hostPort(String hostPort)
CfnApplication.JMXPrometheusExporterProperty.getHostPort()hostPort - The host and port to connect to through remote JMX.
Only one of jmxURL and hostPort can be specified.this@Stability(value=Stable) public CfnApplication.JMXPrometheusExporterProperty.Builder jmxurl(String jmxurl)
CfnApplication.JMXPrometheusExporterProperty.getJmxurl()jmxurl - The complete JMX URL to connect to.this@Stability(value=Stable) public CfnApplication.JMXPrometheusExporterProperty.Builder prometheusPort(String prometheusPort)
CfnApplication.JMXPrometheusExporterProperty.getPrometheusPort()prometheusPort - The target port to send Prometheus metrics to.
If not specified, the default port 9404 is used.this@Stability(value=Stable) public CfnApplication.JMXPrometheusExporterProperty build()
build in interface software.amazon.jsii.Builder<CfnApplication.JMXPrometheusExporterProperty>CfnApplication.JMXPrometheusExporterPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.