@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataModel extends Object implements Serializable, Cloneable, StructuredPojo
Data model for a batch load task.
Constructor and Description |
---|
DataModel() |
Modifier and Type | Method and Description |
---|---|
DataModel |
clone() |
boolean |
equals(Object obj) |
List<DimensionMapping> |
getDimensionMappings()
Source to target mappings for dimensions.
|
String |
getMeasureNameColumn()
|
List<MixedMeasureMapping> |
getMixedMeasureMappings()
Source to target mappings for measures.
|
MultiMeasureMappings |
getMultiMeasureMappings()
Source to target mappings for multi-measure records.
|
String |
getTimeColumn()
Source column to be mapped to time.
|
String |
getTimeUnit()
The granularity of the timestamp unit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
|
void |
setMeasureNameColumn(String measureNameColumn)
|
void |
setMixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
|
void |
setMultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
|
void |
setTimeColumn(String timeColumn)
Source column to be mapped to time.
|
void |
setTimeUnit(String timeUnit)
The granularity of the timestamp unit.
|
String |
toString()
Returns a string representation of this object.
|
DataModel |
withDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
|
DataModel |
withDimensionMappings(DimensionMapping... dimensionMappings)
Source to target mappings for dimensions.
|
DataModel |
withMeasureNameColumn(String measureNameColumn)
|
DataModel |
withMixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
|
DataModel |
withMixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)
Source to target mappings for measures.
|
DataModel |
withMultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
|
DataModel |
withTimeColumn(String timeColumn)
Source column to be mapped to time.
|
DataModel |
withTimeUnit(String timeUnit)
The granularity of the timestamp unit.
|
DataModel |
withTimeUnit(TimeUnit timeUnit)
The granularity of the timestamp unit.
|
public void setTimeColumn(String timeColumn)
Source column to be mapped to time.
timeColumn
- Source column to be mapped to time.public String getTimeColumn()
Source column to be mapped to time.
public DataModel withTimeColumn(String timeColumn)
Source column to be mapped to time.
timeColumn
- Source column to be mapped to time.public void setTimeUnit(String timeUnit)
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is MILLISECONDS
.
timeUnit
- The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS
.TimeUnit
public String getTimeUnit()
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is MILLISECONDS
.
MILLISECONDS
.TimeUnit
public DataModel withTimeUnit(String timeUnit)
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is MILLISECONDS
.
timeUnit
- The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS
.TimeUnit
public DataModel withTimeUnit(TimeUnit timeUnit)
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is MILLISECONDS
.
timeUnit
- The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
nanoseconds, or other supported values. Default is MILLISECONDS
.TimeUnit
public List<DimensionMapping> getDimensionMappings()
Source to target mappings for dimensions.
public void setDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
dimensionMappings
- Source to target mappings for dimensions.public DataModel withDimensionMappings(DimensionMapping... dimensionMappings)
Source to target mappings for dimensions.
NOTE: This method appends the values to the existing list (if any). Use
setDimensionMappings(java.util.Collection)
or withDimensionMappings(java.util.Collection)
if
you want to override the existing values.
dimensionMappings
- Source to target mappings for dimensions.public DataModel withDimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
dimensionMappings
- Source to target mappings for dimensions.public void setMultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
multiMeasureMappings
- Source to target mappings for multi-measure records.public MultiMeasureMappings getMultiMeasureMappings()
Source to target mappings for multi-measure records.
public DataModel withMultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
multiMeasureMappings
- Source to target mappings for multi-measure records.public List<MixedMeasureMapping> getMixedMeasureMappings()
Source to target mappings for measures.
public void setMixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
mixedMeasureMappings
- Source to target mappings for measures.public DataModel withMixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)
Source to target mappings for measures.
NOTE: This method appends the values to the existing list (if any). Use
setMixedMeasureMappings(java.util.Collection)
or withMixedMeasureMappings(java.util.Collection)
if you want to override the existing values.
mixedMeasureMappings
- Source to target mappings for measures.public DataModel withMixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
mixedMeasureMappings
- Source to target mappings for measures.public void setMeasureNameColumn(String measureNameColumn)
measureNameColumn
- public String getMeasureNameColumn()
public DataModel withMeasureNameColumn(String measureNameColumn)
measureNameColumn
- public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.