Interface TimestreamConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TimestreamConfiguration.Builder,
,TimestreamConfiguration> SdkBuilder<TimestreamConfiguration.Builder,
,TimestreamConfiguration> SdkPojo
- Enclosing class:
TimestreamConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseName
(String databaseName) Name of Timestream database to which the query result will be written.dimensionMappings
(Collection<DimensionMapping> dimensionMappings) This is to allow mapping column(s) from the query result to the dimension in the destination table.dimensionMappings
(Consumer<DimensionMapping.Builder>... dimensionMappings) This is to allow mapping column(s) from the query result to the dimension in the destination table.dimensionMappings
(DimensionMapping... dimensionMappings) This is to allow mapping column(s) from the query result to the dimension in the destination table.measureNameColumn
(String measureNameColumn) Name of the measure column.mixedMeasureMappings
(Collection<MixedMeasureMapping> mixedMeasureMappings) Specifies how to map measures to multi-measure records.mixedMeasureMappings
(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings) Specifies how to map measures to multi-measure records.mixedMeasureMappings
(MixedMeasureMapping... mixedMeasureMappings) Specifies how to map measures to multi-measure records.default TimestreamConfiguration.Builder
multiMeasureMappings
(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings) Multi-measure mappings.multiMeasureMappings
(MultiMeasureMappings multiMeasureMappings) Multi-measure mappings.Name of Timestream table that the query result will be written to.timeColumn
(String timeColumn) Column from query result that should be used as the time column in destination table.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 Details
-
databaseName
Name of Timestream database to which the query result will be written.
- Parameters:
databaseName
- Name of Timestream database to which the query result will be written.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.
- Parameters:
tableName
- Name of Timestream table that the query result will be written to. The table should be within the same database that is provided in Timestream configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeColumn
Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.
- Parameters:
timeColumn
- Column from query result that should be used as the time column in destination table. Column type for this should be TIMESTAMP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
This is to allow mapping column(s) from the query result to the dimension in the destination table.
- Parameters:
dimensionMappings
- This is to allow mapping column(s) from the query result to the dimension in the destination table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
This is to allow mapping column(s) from the query result to the dimension in the destination table.
- Parameters:
dimensionMappings
- This is to allow mapping column(s) from the query result to the dimension in the destination table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionMappings
TimestreamConfiguration.Builder dimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings) This is to allow mapping column(s) from the query result to the dimension in the destination table.
This is a convenience method that creates an instance of theDimensionMapping.Builder
avoiding the need to create one manually viaDimensionMapping.builder()
.When the
Consumer
completes,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
Multi-measure mappings.
- Parameters:
multiMeasureMappings
- Multi-measure mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiMeasureMappings
default TimestreamConfiguration.Builder multiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings) Multi-measure mappings.
This is a convenience method that creates an instance of theMultiMeasureMappings.Builder
avoiding the need to create one manually viaMultiMeasureMappings.builder()
.When the
Consumer
completes,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
TimestreamConfiguration.Builder mixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings) Specifies how to map measures to multi-measure records.
- Parameters:
mixedMeasureMappings
- Specifies how to map measures to multi-measure records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedMeasureMappings
Specifies how to map measures to multi-measure records.
- Parameters:
mixedMeasureMappings
- Specifies how to map measures to multi-measure records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mixedMeasureMappings
TimestreamConfiguration.Builder mixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings) Specifies how to map measures to multi-measure records.
This is a convenience method that creates an instance of theMixedMeasureMapping.Builder
avoiding the need to create one manually viaMixedMeasureMapping.builder()
.When the
Consumer
completes,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
Name of the measure column.
- Parameters:
measureNameColumn
- Name of the measure column.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-