Class CfnScheduledQuery.MixedMeasureMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnScheduledQuery.MixedMeasureMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQuery.MixedMeasureMappingProperty>
- Enclosing interface:
- CfnScheduledQuery.MixedMeasureMappingProperty
@Stability(Stable)
public static final class CfnScheduledQuery.MixedMeasureMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQuery.MixedMeasureMappingProperty>
A builder for
CfnScheduledQuery.MixedMeasureMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.measureName(String measureName) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getMeasureName()measureValueType(String measureValueType) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getMeasureValueType()multiMeasureAttributeMappings(List<? extends Object> multiMeasureAttributeMappings) multiMeasureAttributeMappings(IResolvable multiMeasureAttributeMappings) sourceColumn(String sourceColumn) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getSourceColumn()targetMeasureName(String targetMeasureName) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getTargetMeasureName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
measureValueType
@Stability(Stable) public CfnScheduledQuery.MixedMeasureMappingProperty.Builder measureValueType(String measureValueType) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getMeasureValueType()- Parameters:
measureValueType- Type of the value that is to be read from sourceColumn. This parameter is required. If the mapping is for MULTI, use MeasureValueType.MULTI.- Returns:
this
-
measureName
@Stability(Stable) public CfnScheduledQuery.MixedMeasureMappingProperty.Builder measureName(String measureName) Sets the value ofCfnScheduledQuery.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
-
multiMeasureAttributeMappings
@Stability(Stable) public CfnScheduledQuery.MixedMeasureMappingProperty.Builder multiMeasureAttributeMappings(IResolvable multiMeasureAttributeMappings) - Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
this
-
multiMeasureAttributeMappings
@Stability(Stable) public CfnScheduledQuery.MixedMeasureMappingProperty.Builder multiMeasureAttributeMappings(List<? extends Object> multiMeasureAttributeMappings) - Parameters:
multiMeasureAttributeMappings- Required when measureValueType is MULTI. Attribute mappings for MULTI value measures.- Returns:
this
-
sourceColumn
@Stability(Stable) public CfnScheduledQuery.MixedMeasureMappingProperty.Builder sourceColumn(String sourceColumn) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getSourceColumn()- 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 CfnScheduledQuery.MixedMeasureMappingProperty.Builder targetMeasureName(String targetMeasureName) Sets the value ofCfnScheduledQuery.MixedMeasureMappingProperty.getTargetMeasureName()- 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<CfnScheduledQuery.MixedMeasureMappingProperty>- Returns:
- a new instance of
CfnScheduledQuery.MixedMeasureMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-