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();
 
  • Method Details

    • getMeasureValueType

      @Stability(Stable) @NotNull String getMeasureValueType()
      Type of the value that is to be read from sourceColumn.

      If the mapping is for MULTI, use MeasureValueType.MULTI.

    • getMeasureName

      @Stability(Stable) @Nullable default String getMeasureName()
      Refers to the value of measure_name in a result row.

      This field is required if MeasureNameColumn is provided.

    • getMultiMeasureAttributeMappings

      @Stability(Stable) @Nullable default Object getMultiMeasureAttributeMappings()
      Required when measureValueType is MULTI.

      Attribute mappings for MULTI value measures.

    • getSourceColumn

      @Stability(Stable) @Nullable default String getSourceColumn()
      This field refers to the source column from which measure-value is to be read for result materialization.
    • getTargetMeasureName

      @Stability(Stable) @Nullable default String 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.

    • builder

      @Stability(Stable) static CfnScheduledQuery.MixedMeasureMappingProperty.Builder builder()
      Returns:
      a CfnScheduledQuery.MixedMeasureMappingProperty.Builder of CfnScheduledQuery.MixedMeasureMappingProperty