Class CfnCalculatedAttributeDefinitionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnCalculatedAttributeDefinitionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionMixinProps>
- Enclosing interface:
CfnCalculatedAttributeDefinitionMixinProps
@Stability(Stable)
public static final class CfnCalculatedAttributeDefinitionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionMixinProps>
A builder for
CfnCalculatedAttributeDefinitionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeDetails(CfnCalculatedAttributeDefinitionPropsMixin.AttributeDetailsProperty attributeDetails) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getAttributeDetails()attributeDetails(IResolvable attributeDetails) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getAttributeDetails()build()Builds the configured instance.calculatedAttributeName(String calculatedAttributeName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getCalculatedAttributeName()Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getConditions()conditions(IResolvable conditions) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getConditions()description(String description) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDisplayName()domainName(String domainName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDomainName()Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getStatistic()Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getTags()useHistoricalData(Boolean useHistoricalData) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getUseHistoricalData()useHistoricalData(IResolvable useHistoricalData) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getUseHistoricalData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeDetails
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder attributeDetails(IResolvable attributeDetails) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getAttributeDetails()- Parameters:
attributeDetails- Mathematical expression and a list of attribute items specified in that expression.- Returns:
this
-
attributeDetails
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder attributeDetails(CfnCalculatedAttributeDefinitionPropsMixin.AttributeDetailsProperty attributeDetails) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getAttributeDetails()- Parameters:
attributeDetails- Mathematical expression and a list of attribute items specified in that expression.- Returns:
this
-
calculatedAttributeName
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder calculatedAttributeName(String calculatedAttributeName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getCalculatedAttributeName()- Parameters:
calculatedAttributeName- The name of an attribute defined in a profile object type.- Returns:
this
-
conditions
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder conditions(IResolvable conditions) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getConditions()- Parameters:
conditions- The conditions including range, object count, and threshold for the calculated attribute.- Returns:
this
-
conditions
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder conditions(CfnCalculatedAttributeDefinitionPropsMixin.ConditionsProperty conditions) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getConditions()- Parameters:
conditions- The conditions including range, object count, and threshold for the calculated attribute.- Returns:
this
-
description
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder description(String description) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDescription()- Parameters:
description- The description of the calculated attribute.- Returns:
this
-
displayName
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder displayName(String displayName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDisplayName()- Parameters:
displayName- The display name of the calculated attribute.- Returns:
this
-
domainName
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder domainName(String domainName) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getDomainName()- Parameters:
domainName- The unique name of the domain.- Returns:
this
-
statistic
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder statistic(String statistic) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getStatistic()- Parameters:
statistic- The aggregation operation to perform for the calculated attribute.- Returns:
this
-
tags
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
useHistoricalData
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder useHistoricalData(Boolean useHistoricalData) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getUseHistoricalData()- Parameters:
useHistoricalData- Whether historical data ingested before the Calculated Attribute was created should be included in calculations.- Returns:
this
-
useHistoricalData
@Stability(Stable) public CfnCalculatedAttributeDefinitionMixinProps.Builder useHistoricalData(IResolvable useHistoricalData) Sets the value ofCfnCalculatedAttributeDefinitionMixinProps.getUseHistoricalData()- Parameters:
useHistoricalData- Whether historical data ingested before the Calculated Attribute was created should be included in calculations.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCalculatedAttributeDefinitionMixinProps>- Returns:
- a new instance of
CfnCalculatedAttributeDefinitionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-