@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TimeSeriesReplacementsDataSource extends Object implements Serializable, Cloneable, StructuredPojo
A replacement dataset is a modified version of the baseline related time series that contains only the values that you want to include in a what-if forecast. The replacement dataset must contain the forecast dimensions and item identifiers in the baseline related time series as well as at least 1 changed time series. This dataset is merged with the baseline related time series to create a transformed dataset that is used for the what-if forecast.
Constructor and Description |
---|
TimeSeriesReplacementsDataSource() |
Modifier and Type | Method and Description |
---|---|
TimeSeriesReplacementsDataSource |
clone() |
boolean |
equals(Object obj) |
String |
getFormat()
The format of the replacement data, CSV or PARQUET.
|
S3Config |
getS3Config() |
Schema |
getSchema() |
String |
getTimestampFormat()
The timestamp format of the replacement data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFormat(String format)
The format of the replacement data, CSV or PARQUET.
|
void |
setS3Config(S3Config s3Config) |
void |
setSchema(Schema schema) |
void |
setTimestampFormat(String timestampFormat)
The timestamp format of the replacement data.
|
String |
toString()
Returns a string representation of this object.
|
TimeSeriesReplacementsDataSource |
withFormat(String format)
The format of the replacement data, CSV or PARQUET.
|
TimeSeriesReplacementsDataSource |
withS3Config(S3Config s3Config) |
TimeSeriesReplacementsDataSource |
withSchema(Schema schema) |
TimeSeriesReplacementsDataSource |
withTimestampFormat(String timestampFormat)
The timestamp format of the replacement data.
|
public void setS3Config(S3Config s3Config)
s3Config
- public S3Config getS3Config()
public TimeSeriesReplacementsDataSource withS3Config(S3Config s3Config)
s3Config
- public void setSchema(Schema schema)
schema
- public Schema getSchema()
public TimeSeriesReplacementsDataSource withSchema(Schema schema)
schema
- public void setFormat(String format)
The format of the replacement data, CSV or PARQUET.
format
- The format of the replacement data, CSV or PARQUET.public String getFormat()
The format of the replacement data, CSV or PARQUET.
public TimeSeriesReplacementsDataSource withFormat(String format)
The format of the replacement data, CSV or PARQUET.
format
- The format of the replacement data, CSV or PARQUET.public void setTimestampFormat(String timestampFormat)
The timestamp format of the replacement data.
timestampFormat
- The timestamp format of the replacement data.public String getTimestampFormat()
The timestamp format of the replacement data.
public TimeSeriesReplacementsDataSource withTimestampFormat(String timestampFormat)
The timestamp format of the replacement data.
timestampFormat
- The timestamp format of the replacement data.public String toString()
toString
in class Object
Object.toString()
public TimeSeriesReplacementsDataSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.