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