Class CfnCalculatedAttributeDefinition.ThresholdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnCalculatedAttributeDefinition.ThresholdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCalculatedAttributeDefinition.ThresholdProperty>
- Enclosing interface:
CfnCalculatedAttributeDefinition.ThresholdProperty
@Stability(Stable)
public static final class CfnCalculatedAttributeDefinition.ThresholdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCalculatedAttributeDefinition.ThresholdProperty>
A builder for
CfnCalculatedAttributeDefinition.ThresholdProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCalculatedAttributeDefinition.ThresholdProperty.getOperator()Sets the value ofCfnCalculatedAttributeDefinition.ThresholdProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
operator
@Stability(Stable) public CfnCalculatedAttributeDefinition.ThresholdProperty.Builder operator(String operator) Sets the value ofCfnCalculatedAttributeDefinition.ThresholdProperty.getOperator()- Parameters:
operator- The operator of the threshold. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnCalculatedAttributeDefinition.ThresholdProperty.Builder value(String value) Sets the value ofCfnCalculatedAttributeDefinition.ThresholdProperty.getValue()- Parameters:
value- The value of the threshold. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCalculatedAttributeDefinition.ThresholdProperty>- Returns:
- a new instance of
CfnCalculatedAttributeDefinition.ThresholdProperty - Throws:
NullPointerException- if any required attribute was not provided
-