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