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