Class CfnServicePropsMixin.MonitoringConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.MonitoringConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.MonitoringConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.MonitoringConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.MonitoringConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.MonitoringConfigurationProperty>
A builder for
CfnServicePropsMixin.MonitoringConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricConfigurations(List<? extends Object> metricConfigurations) metricConfigurations(IResolvable metricConfigurations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricConfigurations
@Stability(Stable) public CfnServicePropsMixin.MonitoringConfigurationProperty.Builder metricConfigurations(IResolvable metricConfigurations) - Parameters:
metricConfigurations- the value to be set.- Returns:
this
-
metricConfigurations
@Stability(Stable) public CfnServicePropsMixin.MonitoringConfigurationProperty.Builder metricConfigurations(List<? extends Object> metricConfigurations) - Parameters:
metricConfigurations- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.MonitoringConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.MonitoringConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-