Interface Computation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Computation.Builder,
,Computation> SdkBuilder<Computation.Builder,
,Computation> SdkPojo
- Enclosing class:
Computation
-
Method Summary
Modifier and TypeMethodDescriptiondefault Computation.Builder
forecast
(Consumer<ForecastComputation.Builder> forecast) The forecast computation configuration.forecast
(ForecastComputation forecast) The forecast computation configuration.default Computation.Builder
growthRate
(Consumer<GrowthRateComputation.Builder> growthRate) The growth rate computation configuration.growthRate
(GrowthRateComputation growthRate) The growth rate computation configuration.default Computation.Builder
maximumMinimum
(Consumer<MaximumMinimumComputation.Builder> maximumMinimum) The maximum and minimum computation configuration.maximumMinimum
(MaximumMinimumComputation maximumMinimum) The maximum and minimum computation configuration.default Computation.Builder
metricComparison
(Consumer<MetricComparisonComputation.Builder> metricComparison) The metric comparison computation configuration.metricComparison
(MetricComparisonComputation metricComparison) The metric comparison computation configuration.default Computation.Builder
periodOverPeriod
(Consumer<PeriodOverPeriodComputation.Builder> periodOverPeriod) The period over period computation configuration.periodOverPeriod
(PeriodOverPeriodComputation periodOverPeriod) The period over period computation configuration.default Computation.Builder
periodToDate
(Consumer<PeriodToDateComputation.Builder> periodToDate) The period toDataSetIdentifier
computation configuration.periodToDate
(PeriodToDateComputation periodToDate) The period toDataSetIdentifier
computation configuration.default Computation.Builder
topBottomMovers
(Consumer<TopBottomMoversComputation.Builder> topBottomMovers) The top movers and bottom movers computation configuration.topBottomMovers
(TopBottomMoversComputation topBottomMovers) The top movers and bottom movers computation configuration.default Computation.Builder
topBottomRanked
(Consumer<TopBottomRankedComputation.Builder> topBottomRanked) The top ranked and bottom ranked computation configuration.topBottomRanked
(TopBottomRankedComputation topBottomRanked) The top ranked and bottom ranked computation configuration.default Computation.Builder
totalAggregation
(Consumer<TotalAggregationComputation.Builder> totalAggregation) The total aggregation computation configuration.totalAggregation
(TotalAggregationComputation totalAggregation) The total aggregation computation configuration.default Computation.Builder
uniqueValues
(Consumer<UniqueValuesComputation.Builder> uniqueValues) The unique values computation configuration.uniqueValues
(UniqueValuesComputation uniqueValues) The unique values computation configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
topBottomRanked
The top ranked and bottom ranked computation configuration.
- Parameters:
topBottomRanked
- The top ranked and bottom ranked computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topBottomRanked
default Computation.Builder topBottomRanked(Consumer<TopBottomRankedComputation.Builder> topBottomRanked) The top ranked and bottom ranked computation configuration.
This is a convenience method that creates an instance of theTopBottomRankedComputation.Builder
avoiding the need to create one manually viaTopBottomRankedComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopBottomRanked(TopBottomRankedComputation)
.- Parameters:
topBottomRanked
- a consumer that will call methods onTopBottomRankedComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
topBottomMovers
The top movers and bottom movers computation configuration.
- Parameters:
topBottomMovers
- The top movers and bottom movers computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topBottomMovers
default Computation.Builder topBottomMovers(Consumer<TopBottomMoversComputation.Builder> topBottomMovers) The top movers and bottom movers computation configuration.
This is a convenience method that creates an instance of theTopBottomMoversComputation.Builder
avoiding the need to create one manually viaTopBottomMoversComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopBottomMovers(TopBottomMoversComputation)
.- Parameters:
topBottomMovers
- a consumer that will call methods onTopBottomMoversComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalAggregation
The total aggregation computation configuration.
- Parameters:
totalAggregation
- The total aggregation computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAggregation
default Computation.Builder totalAggregation(Consumer<TotalAggregationComputation.Builder> totalAggregation) The total aggregation computation configuration.
This is a convenience method that creates an instance of theTotalAggregationComputation.Builder
avoiding the need to create one manually viaTotalAggregationComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tototalAggregation(TotalAggregationComputation)
.- Parameters:
totalAggregation
- a consumer that will call methods onTotalAggregationComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maximumMinimum
The maximum and minimum computation configuration.
- Parameters:
maximumMinimum
- The maximum and minimum computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumMinimum
default Computation.Builder maximumMinimum(Consumer<MaximumMinimumComputation.Builder> maximumMinimum) The maximum and minimum computation configuration.
This is a convenience method that creates an instance of theMaximumMinimumComputation.Builder
avoiding the need to create one manually viaMaximumMinimumComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomaximumMinimum(MaximumMinimumComputation)
.- Parameters:
maximumMinimum
- a consumer that will call methods onMaximumMinimumComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricComparison
The metric comparison computation configuration.
- Parameters:
metricComparison
- The metric comparison computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricComparison
default Computation.Builder metricComparison(Consumer<MetricComparisonComputation.Builder> metricComparison) The metric comparison computation configuration.
This is a convenience method that creates an instance of theMetricComparisonComputation.Builder
avoiding the need to create one manually viaMetricComparisonComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricComparison(MetricComparisonComputation)
.- Parameters:
metricComparison
- a consumer that will call methods onMetricComparisonComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
periodOverPeriod
The period over period computation configuration.
- Parameters:
periodOverPeriod
- The period over period computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodOverPeriod
default Computation.Builder periodOverPeriod(Consumer<PeriodOverPeriodComputation.Builder> periodOverPeriod) The period over period computation configuration.
This is a convenience method that creates an instance of thePeriodOverPeriodComputation.Builder
avoiding the need to create one manually viaPeriodOverPeriodComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperiodOverPeriod(PeriodOverPeriodComputation)
.- Parameters:
periodOverPeriod
- a consumer that will call methods onPeriodOverPeriodComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
periodToDate
The period to
DataSetIdentifier
computation configuration.- Parameters:
periodToDate
- The period toDataSetIdentifier
computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodToDate
The period to
This is a convenience method that creates an instance of theDataSetIdentifier
computation configuration.PeriodToDateComputation.Builder
avoiding the need to create one manually viaPeriodToDateComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toperiodToDate(PeriodToDateComputation)
.- Parameters:
periodToDate
- a consumer that will call methods onPeriodToDateComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
growthRate
The growth rate computation configuration.
- Parameters:
growthRate
- The growth rate computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
growthRate
The growth rate computation configuration.
This is a convenience method that creates an instance of theGrowthRateComputation.Builder
avoiding the need to create one manually viaGrowthRateComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togrowthRate(GrowthRateComputation)
.- Parameters:
growthRate
- a consumer that will call methods onGrowthRateComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uniqueValues
The unique values computation configuration.
- Parameters:
uniqueValues
- The unique values computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uniqueValues
The unique values computation configuration.
This is a convenience method that creates an instance of theUniqueValuesComputation.Builder
avoiding the need to create one manually viaUniqueValuesComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touniqueValues(UniqueValuesComputation)
.- Parameters:
uniqueValues
- a consumer that will call methods onUniqueValuesComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
forecast
The forecast computation configuration.
- Parameters:
forecast
- The forecast computation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecast
The forecast computation configuration.
This is a convenience method that creates an instance of theForecastComputation.Builder
avoiding the need to create one manually viaForecastComputation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toforecast(ForecastComputation)
.- Parameters:
forecast
- a consumer that will call methods onForecastComputation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-