@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Computation extends Object implements Serializable, Cloneable, StructuredPojo
The computation union that is used in an insight visual.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Constructor and Description |
---|
Computation() |
Modifier and Type | Method and Description |
---|---|
Computation |
clone() |
boolean |
equals(Object obj) |
ForecastComputation |
getForecast()
The forecast computation configuration.
|
GrowthRateComputation |
getGrowthRate()
The growth rate computation configuration.
|
MaximumMinimumComputation |
getMaximumMinimum()
The maximum and minimum computation configuration.
|
MetricComparisonComputation |
getMetricComparison()
The metric comparison computation configuration.
|
PeriodOverPeriodComputation |
getPeriodOverPeriod()
The period over period computation configuration.
|
PeriodToDateComputation |
getPeriodToDate()
The period to
DataSetIdentifier computation configuration. |
TopBottomMoversComputation |
getTopBottomMovers()
The top movers and bottom movers computation configuration.
|
TopBottomRankedComputation |
getTopBottomRanked()
The top ranked and bottom ranked computation configuration.
|
TotalAggregationComputation |
getTotalAggregation()
The total aggregation computation configuration.
|
UniqueValuesComputation |
getUniqueValues()
The unique values computation configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setForecast(ForecastComputation forecast)
The forecast computation configuration.
|
void |
setGrowthRate(GrowthRateComputation growthRate)
The growth rate computation configuration.
|
void |
setMaximumMinimum(MaximumMinimumComputation maximumMinimum)
The maximum and minimum computation configuration.
|
void |
setMetricComparison(MetricComparisonComputation metricComparison)
The metric comparison computation configuration.
|
void |
setPeriodOverPeriod(PeriodOverPeriodComputation periodOverPeriod)
The period over period computation configuration.
|
void |
setPeriodToDate(PeriodToDateComputation periodToDate)
The period to
DataSetIdentifier computation configuration. |
void |
setTopBottomMovers(TopBottomMoversComputation topBottomMovers)
The top movers and bottom movers computation configuration.
|
void |
setTopBottomRanked(TopBottomRankedComputation topBottomRanked)
The top ranked and bottom ranked computation configuration.
|
void |
setTotalAggregation(TotalAggregationComputation totalAggregation)
The total aggregation computation configuration.
|
void |
setUniqueValues(UniqueValuesComputation uniqueValues)
The unique values computation configuration.
|
String |
toString()
Returns a string representation of this object.
|
Computation |
withForecast(ForecastComputation forecast)
The forecast computation configuration.
|
Computation |
withGrowthRate(GrowthRateComputation growthRate)
The growth rate computation configuration.
|
Computation |
withMaximumMinimum(MaximumMinimumComputation maximumMinimum)
The maximum and minimum computation configuration.
|
Computation |
withMetricComparison(MetricComparisonComputation metricComparison)
The metric comparison computation configuration.
|
Computation |
withPeriodOverPeriod(PeriodOverPeriodComputation periodOverPeriod)
The period over period computation configuration.
|
Computation |
withPeriodToDate(PeriodToDateComputation periodToDate)
The period to
DataSetIdentifier computation configuration. |
Computation |
withTopBottomMovers(TopBottomMoversComputation topBottomMovers)
The top movers and bottom movers computation configuration.
|
Computation |
withTopBottomRanked(TopBottomRankedComputation topBottomRanked)
The top ranked and bottom ranked computation configuration.
|
Computation |
withTotalAggregation(TotalAggregationComputation totalAggregation)
The total aggregation computation configuration.
|
Computation |
withUniqueValues(UniqueValuesComputation uniqueValues)
The unique values computation configuration.
|
public void setTopBottomRanked(TopBottomRankedComputation topBottomRanked)
The top ranked and bottom ranked computation configuration.
topBottomRanked
- The top ranked and bottom ranked computation configuration.public TopBottomRankedComputation getTopBottomRanked()
The top ranked and bottom ranked computation configuration.
public Computation withTopBottomRanked(TopBottomRankedComputation topBottomRanked)
The top ranked and bottom ranked computation configuration.
topBottomRanked
- The top ranked and bottom ranked computation configuration.public void setTopBottomMovers(TopBottomMoversComputation topBottomMovers)
The top movers and bottom movers computation configuration.
topBottomMovers
- The top movers and bottom movers computation configuration.public TopBottomMoversComputation getTopBottomMovers()
The top movers and bottom movers computation configuration.
public Computation withTopBottomMovers(TopBottomMoversComputation topBottomMovers)
The top movers and bottom movers computation configuration.
topBottomMovers
- The top movers and bottom movers computation configuration.public void setTotalAggregation(TotalAggregationComputation totalAggregation)
The total aggregation computation configuration.
totalAggregation
- The total aggregation computation configuration.public TotalAggregationComputation getTotalAggregation()
The total aggregation computation configuration.
public Computation withTotalAggregation(TotalAggregationComputation totalAggregation)
The total aggregation computation configuration.
totalAggregation
- The total aggregation computation configuration.public void setMaximumMinimum(MaximumMinimumComputation maximumMinimum)
The maximum and minimum computation configuration.
maximumMinimum
- The maximum and minimum computation configuration.public MaximumMinimumComputation getMaximumMinimum()
The maximum and minimum computation configuration.
public Computation withMaximumMinimum(MaximumMinimumComputation maximumMinimum)
The maximum and minimum computation configuration.
maximumMinimum
- The maximum and minimum computation configuration.public void setMetricComparison(MetricComparisonComputation metricComparison)
The metric comparison computation configuration.
metricComparison
- The metric comparison computation configuration.public MetricComparisonComputation getMetricComparison()
The metric comparison computation configuration.
public Computation withMetricComparison(MetricComparisonComputation metricComparison)
The metric comparison computation configuration.
metricComparison
- The metric comparison computation configuration.public void setPeriodOverPeriod(PeriodOverPeriodComputation periodOverPeriod)
The period over period computation configuration.
periodOverPeriod
- The period over period computation configuration.public PeriodOverPeriodComputation getPeriodOverPeriod()
The period over period computation configuration.
public Computation withPeriodOverPeriod(PeriodOverPeriodComputation periodOverPeriod)
The period over period computation configuration.
periodOverPeriod
- The period over period computation configuration.public void setPeriodToDate(PeriodToDateComputation periodToDate)
The period to DataSetIdentifier
computation configuration.
periodToDate
- The period to DataSetIdentifier
computation configuration.public PeriodToDateComputation getPeriodToDate()
The period to DataSetIdentifier
computation configuration.
DataSetIdentifier
computation configuration.public Computation withPeriodToDate(PeriodToDateComputation periodToDate)
The period to DataSetIdentifier
computation configuration.
periodToDate
- The period to DataSetIdentifier
computation configuration.public void setGrowthRate(GrowthRateComputation growthRate)
The growth rate computation configuration.
growthRate
- The growth rate computation configuration.public GrowthRateComputation getGrowthRate()
The growth rate computation configuration.
public Computation withGrowthRate(GrowthRateComputation growthRate)
The growth rate computation configuration.
growthRate
- The growth rate computation configuration.public void setUniqueValues(UniqueValuesComputation uniqueValues)
The unique values computation configuration.
uniqueValues
- The unique values computation configuration.public UniqueValuesComputation getUniqueValues()
The unique values computation configuration.
public Computation withUniqueValues(UniqueValuesComputation uniqueValues)
The unique values computation configuration.
uniqueValues
- The unique values computation configuration.public void setForecast(ForecastComputation forecast)
The forecast computation configuration.
forecast
- The forecast computation configuration.public ForecastComputation getForecast()
The forecast computation configuration.
public Computation withForecast(ForecastComputation forecast)
The forecast computation configuration.
forecast
- The forecast computation configuration.public String toString()
toString
in class Object
Object.toString()
public Computation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.