Class CfnCampaign.MetricDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnCampaign.MetricDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.MetricDimensionProperty>
- Enclosing interface:
CfnCampaign.MetricDimensionProperty
@Stability(Stable)
public static final class CfnCampaign.MetricDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.MetricDimensionProperty>
A builder for
CfnCampaign.MetricDimensionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.comparisonOperator
(String comparisonOperator) Sets the value ofCfnCampaign.MetricDimensionProperty.getComparisonOperator()
Sets the value ofCfnCampaign.MetricDimensionProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparisonOperator
@Stability(Stable) public CfnCampaign.MetricDimensionProperty.Builder comparisonOperator(String comparisonOperator) Sets the value ofCfnCampaign.MetricDimensionProperty.getComparisonOperator()
- Parameters:
comparisonOperator
- the value to be set.- Returns:
this
-
value
Sets the value ofCfnCampaign.MetricDimensionProperty.getValue()
- Parameters:
value
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.MetricDimensionProperty>
- Returns:
- a new instance of
CfnCampaign.MetricDimensionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-