Class CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.timestream.CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty>
- Enclosing interface:
CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty
@Stability(Stable)
public static final class CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty>
A builder for
CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.measureName(String measureName) Sets the value ofCfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.getMeasureName()measureValueType(String measureValueType) multiMeasureAttributeMappings(List<? extends Object> multiMeasureAttributeMappings) multiMeasureAttributeMappings(IResolvable multiMeasureAttributeMappings) sourceColumn(String sourceColumn) targetMeasureName(String targetMeasureName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
measureName
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder measureName(String measureName) Sets the value ofCfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.getMeasureName()- Parameters:
measureName- Refers to the value of measure_name in a result row. This field is required if MeasureNameColumn is provided.- Returns:
this
-
measureValueType
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder measureValueType(String measureValueType) - Parameters:
measureValueType- Type of the value that is to be read from sourceColumn. If the mapping is for MULTI, use MeasureValueType.MULTI.- Returns:
this
-
multiMeasureAttributeMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder multiMeasureAttributeMappings(IResolvable multiMeasureAttributeMappings) Sets the value ofCfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.getMultiMeasureAttributeMappings()- Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
this
-
multiMeasureAttributeMappings
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder multiMeasureAttributeMappings(List<? extends Object> multiMeasureAttributeMappings) Sets the value ofCfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.getMultiMeasureAttributeMappings()- Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
this
-
sourceColumn
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder sourceColumn(String sourceColumn) - Parameters:
sourceColumn- This field refers to the source column from which measure-value is to be read for result materialization.- Returns:
this
-
targetMeasureName
@Stability(Stable) public CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty.Builder targetMeasureName(String targetMeasureName) - Parameters:
targetMeasureName- Target measure name to be used. If not provided, the target measure name by default would be measure-name if provided, or sourceColumn otherwise.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty>- Returns:
- a new instance of
CfnScheduledQueryPropsMixin.MixedMeasureMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-