@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeSeriesTransformation extends Object implements Serializable, Cloneable, StructuredPojo
A transformation function is a pair of operations that select and modify the rows in a related time series. You select the rows that you want with a condition operation and you modify the rows with a transformation operation. All conditions are joined with an AND operation, meaning that all conditions must be true for the transformation to be applied. Transformations are applied in the order that they are listed.
Constructor and Description |
---|
TimeSeriesTransformation() |
Modifier and Type | Method and Description |
---|---|
TimeSeriesTransformation |
clone() |
boolean |
equals(Object obj) |
Action |
getAction()
An array of actions that define a time series and how it is transformed.
|
List<TimeSeriesCondition> |
getTimeSeriesConditions()
An array of conditions that define which members of the related time series are transformed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(Action action)
An array of actions that define a time series and how it is transformed.
|
void |
setTimeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
|
String |
toString()
Returns a string representation of this object.
|
TimeSeriesTransformation |
withAction(Action action)
An array of actions that define a time series and how it is transformed.
|
TimeSeriesTransformation |
withTimeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
|
TimeSeriesTransformation |
withTimeSeriesConditions(TimeSeriesCondition... timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
|
public void setAction(Action action)
An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
action
- An array of actions that define a time series and how it is transformed. These transformations create a
new time series that is used for the what-if analysis.public Action getAction()
An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
public TimeSeriesTransformation withAction(Action action)
An array of actions that define a time series and how it is transformed. These transformations create a new time series that is used for the what-if analysis.
action
- An array of actions that define a time series and how it is transformed. These transformations create a
new time series that is used for the what-if analysis.public List<TimeSeriesCondition> getTimeSeriesConditions()
An array of conditions that define which members of the related time series are transformed.
public void setTimeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
timeSeriesConditions
- An array of conditions that define which members of the related time series are transformed.public TimeSeriesTransformation withTimeSeriesConditions(TimeSeriesCondition... timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
NOTE: This method appends the values to the existing list (if any). Use
setTimeSeriesConditions(java.util.Collection)
or withTimeSeriesConditions(java.util.Collection)
if you want to override the existing values.
timeSeriesConditions
- An array of conditions that define which members of the related time series are transformed.public TimeSeriesTransformation withTimeSeriesConditions(Collection<TimeSeriesCondition> timeSeriesConditions)
An array of conditions that define which members of the related time series are transformed.
timeSeriesConditions
- An array of conditions that define which members of the related time series are transformed.public String toString()
toString
in class Object
Object.toString()
public TimeSeriesTransformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.