Class CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty>
- Enclosing interface:
CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty
@Stability(Stable)
public static final class CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseName(String databaseName) dimensionMappings(List<? extends Object> dimensionMappings) dimensionMappings(IResolvable dimensionMappings) measureNameColumn(String measureNameColumn) mixedMeasureMappings(List<? extends Object> mixedMeasureMappings) mixedMeasureMappings(IResolvable mixedMeasureMappings) multiMeasureMappings(CfnScheduledQueryPropsMixin.MultiMeasureMappingsProperty multiMeasureMappings) multiMeasureMappings(IResolvable multiMeasureMappings) timeColumn(String timeColumn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- Name of Timestream database to which the query result will be written.- Returns:
this
-
dimensionMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder dimensionMappings(IResolvable dimensionMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getDimensionMappings()- Parameters:
dimensionMappings- This is to allow mapping column(s) from the query result to the dimension in the destination table.- Returns:
this
-
dimensionMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder dimensionMappings(List<? extends Object> dimensionMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getDimensionMappings()- Parameters:
dimensionMappings- This is to allow mapping column(s) from the query result to the dimension in the destination table.- Returns:
this
-
measureNameColumn
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder measureNameColumn(String measureNameColumn) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getMeasureNameColumn()- Parameters:
measureNameColumn- Name of the measure column. Also seeMultiMeasureMappingsandMixedMeasureMappingsfor how measure name properties on those relate toMeasureNameColumn.- Returns:
this
-
mixedMeasureMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder mixedMeasureMappings(IResolvable mixedMeasureMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getMixedMeasureMappings()- Parameters:
mixedMeasureMappings- Specifies how to map measures to multi-measure records.- Returns:
this
-
mixedMeasureMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder mixedMeasureMappings(List<? extends Object> mixedMeasureMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getMixedMeasureMappings()- Parameters:
mixedMeasureMappings- Specifies how to map measures to multi-measure records.- Returns:
this
-
multiMeasureMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder multiMeasureMappings(IResolvable multiMeasureMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getMultiMeasureMappings()- Parameters:
multiMeasureMappings- Multi-measure mappings.- Returns:
this
-
multiMeasureMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder multiMeasureMappings(CfnScheduledQueryPropsMixin.MultiMeasureMappingsProperty multiMeasureMappings) Sets the value ofCfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.getMultiMeasureMappings()- Parameters:
multiMeasureMappings- Multi-measure mappings.- Returns:
this
-
tableName
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder tableName(String tableName) - 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:
this
-
timeColumn
@Stability(Stable) public CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty.Builder timeColumn(String timeColumn) - 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty>- Returns:
- a new instance of
CfnScheduledQueryPropsMixin.TimestreamConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-