Interface DataModel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataModel.Builder,DataModel>,SdkBuilder<DataModel.Builder,DataModel>,SdkPojo
- Enclosing class:
- DataModel
public static interface DataModel.Builder extends SdkPojo, CopyableBuilder<DataModel.Builder,DataModel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataModel.BuilderdimensionMappings(Collection<DimensionMapping> dimensionMappings)Source to target mappings for dimensions.DataModel.BuilderdimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)Source to target mappings for dimensions.DataModel.BuilderdimensionMappings(DimensionMapping... dimensionMappings)Source to target mappings for dimensions.DataModel.BuildermeasureNameColumn(String measureNameColumn)DataModel.BuildermixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)Source to target mappings for measures.DataModel.BuildermixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings)Source to target mappings for measures.DataModel.BuildermixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)Source to target mappings for measures.default DataModel.BuildermultiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings)Source to target mappings for multi-measure records.DataModel.BuildermultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)Source to target mappings for multi-measure records.DataModel.BuildertimeColumn(String timeColumn)Source column to be mapped to time.DataModel.BuildertimeUnit(String timeUnit)The granularity of the timestamp unit.DataModel.BuildertimeUnit(TimeUnit timeUnit)The granularity of the timestamp unit.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
timeColumn
DataModel.Builder timeColumn(String timeColumn)
Source column to be mapped to time.
- Parameters:
timeColumn- Source column to be mapped to time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeUnit
DataModel.Builder timeUnit(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.- Parameters:
timeUnit- The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default isMILLISECONDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnit,TimeUnit
-
timeUnit
DataModel.Builder timeUnit(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.- Parameters:
timeUnit- The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds, or other supported values. Default isMILLISECONDS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TimeUnit,TimeUnit
-
dimensionMappings
DataModel.Builder dimensionMappings(Collection<DimensionMapping> dimensionMappings)
Source to target mappings for dimensions.
- Parameters:
dimensionMappings- Source to target mappings for dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
DataModel.Builder dimensionMappings(DimensionMapping... dimensionMappings)
Source to target mappings for dimensions.
- Parameters:
dimensionMappings- Source to target mappings for dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
DataModel.Builder dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)
Source to target mappings for dimensions.
This is a convenience method that creates an instance of theDimensionMapping.Builderavoiding the need to create one manually viaDimensionMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dimensionMappings(List.) - Parameters:
dimensionMappings- a consumer that will call methods onDimensionMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dimensionMappings(java.util.Collection)
-
multiMeasureMappings
DataModel.Builder multiMeasureMappings(MultiMeasureMappings multiMeasureMappings)
Source to target mappings for multi-measure records.
- Parameters:
multiMeasureMappings- Source to target mappings for multi-measure records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureMappings
default DataModel.Builder multiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings)
Source to target mappings for multi-measure records.
This is a convenience method that creates an instance of theMultiMeasureMappings.Builderavoiding the need to create one manually viaMultiMeasureMappings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultiMeasureMappings(MultiMeasureMappings).- Parameters:
multiMeasureMappings- a consumer that will call methods onMultiMeasureMappings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
multiMeasureMappings(MultiMeasureMappings)
-
mixedMeasureMappings
DataModel.Builder mixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)
Source to target mappings for measures.
- Parameters:
mixedMeasureMappings- Source to target mappings for measures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedMeasureMappings
DataModel.Builder mixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)
Source to target mappings for measures.
- Parameters:
mixedMeasureMappings- Source to target mappings for measures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedMeasureMappings
DataModel.Builder mixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings)
Source to target mappings for measures.
This is a convenience method that creates an instance of theMixedMeasureMapping.Builderavoiding the need to create one manually viaMixedMeasureMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mixedMeasureMappings(List.) - Parameters:
mixedMeasureMappings- a consumer that will call methods onMixedMeasureMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#mixedMeasureMappings(java.util.Collection)
-
measureNameColumn
DataModel.Builder measureNameColumn(String measureNameColumn)
- Parameters:
measureNameColumn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-