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