Class CfnTemplatePropsMixin.ComputationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.ComputationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.ComputationProperty>
- Enclosing interface:
CfnTemplatePropsMixin.ComputationProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.ComputationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.ComputationProperty>
A builder for
CfnTemplatePropsMixin.ComputationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getForecast()forecast(IResolvable forecast) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getForecast()Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getGrowthRate()growthRate(IResolvable growthRate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getGrowthRate()Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMaximumMinimum()maximumMinimum(IResolvable maximumMinimum) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMaximumMinimum()metricComparison(CfnTemplatePropsMixin.MetricComparisonComputationProperty metricComparison) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMetricComparison()metricComparison(IResolvable metricComparison) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMetricComparison()periodOverPeriod(CfnTemplatePropsMixin.PeriodOverPeriodComputationProperty periodOverPeriod) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodOverPeriod()periodOverPeriod(IResolvable periodOverPeriod) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodOverPeriod()Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodToDate()periodToDate(IResolvable periodToDate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodToDate()topBottomMovers(CfnTemplatePropsMixin.TopBottomMoversComputationProperty topBottomMovers) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomMovers()topBottomMovers(IResolvable topBottomMovers) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomMovers()topBottomRanked(CfnTemplatePropsMixin.TopBottomRankedComputationProperty topBottomRanked) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomRanked()topBottomRanked(IResolvable topBottomRanked) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomRanked()totalAggregation(CfnTemplatePropsMixin.TotalAggregationComputationProperty totalAggregation) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTotalAggregation()totalAggregation(IResolvable totalAggregation) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTotalAggregation()Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getUniqueValues()uniqueValues(IResolvable uniqueValues) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getUniqueValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
forecast
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder forecast(IResolvable forecast) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getForecast()- Parameters:
forecast- The forecast computation configuration.- Returns:
this
-
forecast
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder forecast(CfnTemplatePropsMixin.ForecastComputationProperty forecast) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getForecast()- Parameters:
forecast- The forecast computation configuration.- Returns:
this
-
growthRate
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder growthRate(IResolvable growthRate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getGrowthRate()- Parameters:
growthRate- The growth rate computation configuration.- Returns:
this
-
growthRate
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder growthRate(CfnTemplatePropsMixin.GrowthRateComputationProperty growthRate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getGrowthRate()- Parameters:
growthRate- The growth rate computation configuration.- Returns:
this
-
maximumMinimum
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder maximumMinimum(IResolvable maximumMinimum) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMaximumMinimum()- Parameters:
maximumMinimum- The maximum and minimum computation configuration.- Returns:
this
-
maximumMinimum
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder maximumMinimum(CfnTemplatePropsMixin.MaximumMinimumComputationProperty maximumMinimum) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMaximumMinimum()- Parameters:
maximumMinimum- The maximum and minimum computation configuration.- Returns:
this
-
metricComparison
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder metricComparison(IResolvable metricComparison) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMetricComparison()- Parameters:
metricComparison- The metric comparison computation configuration.- Returns:
this
-
metricComparison
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder metricComparison(CfnTemplatePropsMixin.MetricComparisonComputationProperty metricComparison) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getMetricComparison()- Parameters:
metricComparison- The metric comparison computation configuration.- Returns:
this
-
periodOverPeriod
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder periodOverPeriod(IResolvable periodOverPeriod) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodOverPeriod()- Parameters:
periodOverPeriod- The period over period computation configuration.- Returns:
this
-
periodOverPeriod
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder periodOverPeriod(CfnTemplatePropsMixin.PeriodOverPeriodComputationProperty periodOverPeriod) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodOverPeriod()- Parameters:
periodOverPeriod- The period over period computation configuration.- Returns:
this
-
periodToDate
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder periodToDate(IResolvable periodToDate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodToDate()- Parameters:
periodToDate- The period toDataSetIdentifiercomputation configuration.- Returns:
this
-
periodToDate
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder periodToDate(CfnTemplatePropsMixin.PeriodToDateComputationProperty periodToDate) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getPeriodToDate()- Parameters:
periodToDate- The period toDataSetIdentifiercomputation configuration.- Returns:
this
-
topBottomMovers
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder topBottomMovers(IResolvable topBottomMovers) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomMovers()- Parameters:
topBottomMovers- The top movers and bottom movers computation configuration.- Returns:
this
-
topBottomMovers
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder topBottomMovers(CfnTemplatePropsMixin.TopBottomMoversComputationProperty topBottomMovers) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomMovers()- Parameters:
topBottomMovers- The top movers and bottom movers computation configuration.- Returns:
this
-
topBottomRanked
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder topBottomRanked(IResolvable topBottomRanked) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomRanked()- Parameters:
topBottomRanked- The top ranked and bottom ranked computation configuration.- Returns:
this
-
topBottomRanked
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder topBottomRanked(CfnTemplatePropsMixin.TopBottomRankedComputationProperty topBottomRanked) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTopBottomRanked()- Parameters:
topBottomRanked- The top ranked and bottom ranked computation configuration.- Returns:
this
-
totalAggregation
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder totalAggregation(IResolvable totalAggregation) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTotalAggregation()- Parameters:
totalAggregation- The total aggregation computation configuration.- Returns:
this
-
totalAggregation
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder totalAggregation(CfnTemplatePropsMixin.TotalAggregationComputationProperty totalAggregation) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getTotalAggregation()- Parameters:
totalAggregation- The total aggregation computation configuration.- Returns:
this
-
uniqueValues
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder uniqueValues(IResolvable uniqueValues) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getUniqueValues()- Parameters:
uniqueValues- The unique values computation configuration.- Returns:
this
-
uniqueValues
@Stability(Stable) public CfnTemplatePropsMixin.ComputationProperty.Builder uniqueValues(CfnTemplatePropsMixin.UniqueValuesComputationProperty uniqueValues) Sets the value ofCfnTemplatePropsMixin.ComputationProperty.getUniqueValues()- Parameters:
uniqueValues- The unique values computation configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.ComputationProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.ComputationProperty - Throws:
NullPointerException- if any required attribute was not provided
-