Class CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty>
- Enclosing interface:
CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty
@Stability(Stable)
public static final class CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricName(String metricName) metricType(String metricType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricName
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.Builder metricName(String metricName) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.getMetricName()- Parameters:
metricName- The name of the metric.- Returns:
this
-
metricType
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.Builder metricType(String metricType) Sets the value ofCfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty.getMetricType()- Parameters:
metricType- The type of the metric.- Returns:
this
-
build
@Stability(Stable) public CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty>- Returns:
- a new instance of
CfnEvaluationFormPropsMixin.EvaluationFormMetricConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-