Interface CfnScheduledQuery.MixedMeasureMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScheduledQuery.MixedMeasureMappingProperty.Jsii$Proxy
- Enclosing class:
CfnScheduledQuery
@Stability(Stable)
public static interface CfnScheduledQuery.MixedMeasureMappingProperty
extends software.amazon.jsii.JsiiSerializable
MixedMeasureMappings are mappings that can be used to ingest data into a mixture of narrow and multi measures in the derived table.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.timestream.*; MixedMeasureMappingProperty mixedMeasureMappingProperty = MixedMeasureMappingProperty.builder() .measureValueType("measureValueType") // the properties below are optional .measureName("measureName") .multiMeasureAttributeMappings(List.of(MultiMeasureAttributeMappingProperty.builder() .measureValueType("measureValueType") .sourceColumn("sourceColumn") // the properties below are optional .targetMultiMeasureAttributeName("targetMultiMeasureAttributeName") .build())) .sourceColumn("sourceColumn") .targetMeasureName("targetMeasureName") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnScheduledQuery.MixedMeasureMappingProperty
static final class
An implementation forCfnScheduledQuery.MixedMeasureMappingProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
Refers to the value of measure_name in a result row.Type of the value that is to be read from sourceColumn.default Object
Required when measureValueType is MULTI.default String
This field refers to the source column from which measure-value is to be read for result materialization.default String
Target measure name to be used.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getMeasureValueType
Type of the value that is to be read from sourceColumn.If the mapping is for MULTI, use MeasureValueType.MULTI.
- See Also:
-
getMeasureName
Refers to the value of measure_name in a result row.This field is required if MeasureNameColumn is provided.
- See Also:
-
getMultiMeasureAttributeMappings
Required when measureValueType is MULTI.Attribute mappings for MULTI value measures.
- See Also:
-
getSourceColumn
This field refers to the source column from which measure-value is to be read for result materialization.- See Also:
-
getTargetMeasureName
Target measure name to be used.If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.
- See Also:
-
builder
-