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