Interface TimestreamConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TimestreamConfiguration.Builder,TimestreamConfiguration>,SdkBuilder<TimestreamConfiguration.Builder,TimestreamConfiguration>,SdkPojo
- Enclosing class:
- TimestreamConfiguration
public static interface TimestreamConfiguration.Builder extends SdkPojo, CopyableBuilder<TimestreamConfiguration.Builder,TimestreamConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TimestreamConfiguration.BuilderdatabaseName(String databaseName)Name of Timestream database to which the query result will be written.TimestreamConfiguration.BuilderdimensionMappings(Collection<DimensionMapping> dimensionMappings)This is to allow mapping column(s) from the query result to the dimension in the destination table.TimestreamConfiguration.BuilderdimensionMappings(Consumer<DimensionMapping.Builder>... dimensionMappings)This is to allow mapping column(s) from the query result to the dimension in the destination table.TimestreamConfiguration.BuilderdimensionMappings(DimensionMapping... dimensionMappings)This is to allow mapping column(s) from the query result to the dimension in the destination table.TimestreamConfiguration.BuildermeasureNameColumn(String measureNameColumn)Name of the measure column.TimestreamConfiguration.BuildermixedMeasureMappings(Collection<MixedMeasureMapping> mixedMeasureMappings)Specifies how to map measures to multi-measure records.TimestreamConfiguration.BuildermixedMeasureMappings(Consumer<MixedMeasureMapping.Builder>... mixedMeasureMappings)Specifies how to map measures to multi-measure records.TimestreamConfiguration.BuildermixedMeasureMappings(MixedMeasureMapping... mixedMeasureMappings)Specifies how to map measures to multi-measure records.default TimestreamConfiguration.BuildermultiMeasureMappings(Consumer<MultiMeasureMappings.Builder> multiMeasureMappings)Multi-measure mappings.TimestreamConfiguration.BuildermultiMeasureMappings(MultiMeasureMappings multiMeasureMappings)Multi-measure mappings.TimestreamConfiguration.BuildertableName(String tableName)Name of Timestream table that the query result will be written to.TimestreamConfiguration.BuildertimeColumn(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 Detail
-
databaseName
TimestreamConfiguration.Builder databaseName(String 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
TimestreamConfiguration.Builder tableName(String 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
TimestreamConfiguration.Builder timeColumn(String 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
TimestreamConfiguration.Builder dimensionMappings(Collection<DimensionMapping> 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(DimensionMapping... 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.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
TimestreamConfiguration.Builder multiMeasureMappings(MultiMeasureMappings 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.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
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
TimestreamConfiguration.Builder mixedMeasureMappings(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
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.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
TimestreamConfiguration.Builder measureNameColumn(String 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.
-
-