@Generated(value="software.amazon.awssdk:codegen") public final class DataModel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataModel.Builder,DataModel>
Data model for a batch load task.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DataModel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DataModel.Builder |
builder() |
List<DimensionMapping> |
dimensionMappings()
Source to target mappings for dimensions.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensionMappings()
For responses, this returns true if the service returned a value for the DimensionMappings property.
|
int |
hashCode() |
boolean |
hasMixedMeasureMappings()
For responses, this returns true if the service returned a value for the MixedMeasureMappings property.
|
String |
measureNameColumn()
|
List<MixedMeasureMapping> |
mixedMeasureMappings()
Source to target mappings for measures.
|
MultiMeasureMappings |
multiMeasureMappings()
Source to target mappings for multi-measure records.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DataModel.Builder> |
serializableBuilderClass() |
String |
timeColumn()
Source column to be mapped to time.
|
TimeUnit |
timeUnit()
The granularity of the timestamp unit.
|
String |
timeUnitAsString()
The granularity of the timestamp unit.
|
DataModel.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String timeColumn()
Source column to be mapped to time.
public final 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.
If the service returns an enum value that is not available in the current SDK version, timeUnit will
return TimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
timeUnitAsString().
MILLISECONDS.TimeUnitpublic final String timeUnitAsString()
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is MILLISECONDS.
If the service returns an enum value that is not available in the current SDK version, timeUnit will
return TimeUnit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
timeUnitAsString().
MILLISECONDS.TimeUnitpublic final boolean hasDimensionMappings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<DimensionMapping> dimensionMappings()
Source to target mappings for dimensions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDimensionMappings() method.
public final MultiMeasureMappings multiMeasureMappings()
Source to target mappings for multi-measure records.
public final boolean hasMixedMeasureMappings()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<MixedMeasureMapping> mixedMeasureMappings()
Source to target mappings for measures.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMixedMeasureMappings() method.
public final String measureNameColumn()
public DataModel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DataModel.Builder,DataModel>public static DataModel.Builder builder()
public static Class<? extends DataModel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.