Class CfnCluster.PrometheusProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.PrometheusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.PrometheusProperty>
- Enclosing interface:
CfnCluster.PrometheusProperty
@Stability(Stable)
public static final class CfnCluster.PrometheusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.PrometheusProperty>
A builder for
CfnCluster.PrometheusProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.jmxExporter
(IResolvable jmxExporter) Sets the value ofCfnCluster.PrometheusProperty.getJmxExporter()
jmxExporter
(CfnCluster.JmxExporterProperty jmxExporter) Sets the value ofCfnCluster.PrometheusProperty.getJmxExporter()
nodeExporter
(IResolvable nodeExporter) Sets the value ofCfnCluster.PrometheusProperty.getNodeExporter()
nodeExporter
(CfnCluster.NodeExporterProperty nodeExporter) Sets the value ofCfnCluster.PrometheusProperty.getNodeExporter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jmxExporter
@Stability(Stable) public CfnCluster.PrometheusProperty.Builder jmxExporter(IResolvable jmxExporter) Sets the value ofCfnCluster.PrometheusProperty.getJmxExporter()
- Parameters:
jmxExporter
- the value to be set.- Returns:
this
-
jmxExporter
@Stability(Stable) public CfnCluster.PrometheusProperty.Builder jmxExporter(CfnCluster.JmxExporterProperty jmxExporter) Sets the value ofCfnCluster.PrometheusProperty.getJmxExporter()
- Parameters:
jmxExporter
- the value to be set.- Returns:
this
-
nodeExporter
@Stability(Stable) public CfnCluster.PrometheusProperty.Builder nodeExporter(IResolvable nodeExporter) Sets the value ofCfnCluster.PrometheusProperty.getNodeExporter()
- Parameters:
nodeExporter
- the value to be set.- Returns:
this
-
nodeExporter
@Stability(Stable) public CfnCluster.PrometheusProperty.Builder nodeExporter(CfnCluster.NodeExporterProperty nodeExporter) Sets the value ofCfnCluster.PrometheusProperty.getNodeExporter()
- Parameters:
nodeExporter
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.PrometheusProperty>
- Returns:
- a new instance of
CfnCluster.PrometheusProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-