Interface DataModel.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataModel.Builder,,DataModel> SdkBuilder<DataModel.Builder,,DataModel> SdkPojo
- Enclosing class:
DataModel
-
Method Summary
Modifier and TypeMethodDescriptiondimensionMappings(Collection<DimensionMapping> dimensionMappings) Source to target mappings for dimensions.dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings) Source to target mappings for dimensions.dimensionMappings(DimensionMapping... dimensionMappings) Source to target mappings for dimensions.measureNameColumn(String measureNameColumn) mixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings) Source to target mappings for measures.mixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings) Source to target mappings for measures.mixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings) Source to target mappings for measures.default DataModel.BuildermultiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings) Source to target mappings for multi-measure records.multiMeasureMappings(MultiMeasureMappings multiMeasureMappings) Source to target mappings for multi-measure records.timeColumn(String timeColumn) Source column to be mapped to time.The granularity of the timestamp unit.The granularity of the timestamp unit.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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:
-
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
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
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 todimensionMappings(List<DimensionMapping>).- 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:
-
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:
-
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
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 tomixedMeasureMappings(List<MixedMeasureMapping>).- 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:
-
measureNameColumn
- Parameters:
measureNameColumn-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-