Class CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty>
- Enclosing interface:
CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty
@Stability(Stable)
public static final class CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.objectCount(Number objectCount) Sets the value ofCfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.getRange()range(IResolvable range) Sets the value ofCfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.getRange()threshold(IResolvable threshold)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
objectCount
@Stability(Stable) public CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder objectCount(Number objectCount) - Parameters:
objectCount- The number of profile objects used for the calculated attribute.- Returns:
this
-
range
@Stability(Stable) public CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder range(IResolvable range) Sets the value ofCfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.getRange()- Parameters:
range- The relative time period over which data is included in the aggregation.- Returns:
this
-
range
@Stability(Stable) public CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder range(CfnCalculatedAttributeDefinitionPropsMixin.RangeProperty range) Sets the value ofCfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.getRange()- Parameters:
range- The relative time period over which data is included in the aggregation.- Returns:
this
-
threshold
@Stability(Stable) public CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder threshold(IResolvable threshold) - Parameters:
threshold- The threshold for the calculated attribute.- Returns:
this
-
threshold
@Stability(Stable) public CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty.Builder threshold(CfnCalculatedAttributeDefinitionPropsMixin.ThresholdProperty threshold) - Parameters:
threshold- The threshold for the calculated attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty>- Returns:
- a new instance of
CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-