Class CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.timestream.CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScheduledQuery.MultiMeasureAttributeMappingProperty>
- Enclosing interface:
- CfnScheduledQuery.MultiMeasureAttributeMappingProperty
@Stability(Stable)
public static final class CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScheduledQuery.MultiMeasureAttributeMappingProperty>
A builder for
CfnScheduledQuery.MultiMeasureAttributeMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.measureValueType(String measureValueType) sourceColumn(String sourceColumn) Sets the value ofCfnScheduledQuery.MultiMeasureAttributeMappingProperty.getSourceColumn()targetMultiMeasureAttributeName(String targetMultiMeasureAttributeName)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
measureValueType
@Stability(Stable) public CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder measureValueType(String measureValueType) - Parameters:
measureValueType- Type of the attribute to be read from the source column. This parameter is required.- Returns:
this
-
sourceColumn
@Stability(Stable) public CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder sourceColumn(String sourceColumn) Sets the value ofCfnScheduledQuery.MultiMeasureAttributeMappingProperty.getSourceColumn()- Parameters:
sourceColumn- Source column from where the attribute value is to be read. This parameter is required.- Returns:
this
-
targetMultiMeasureAttributeName
@Stability(Stable) public CfnScheduledQuery.MultiMeasureAttributeMappingProperty.Builder targetMultiMeasureAttributeName(String targetMultiMeasureAttributeName) Sets the value ofCfnScheduledQuery.MultiMeasureAttributeMappingProperty.getTargetMultiMeasureAttributeName()- Parameters:
targetMultiMeasureAttributeName- Custom name to be used for attribute name in derived table. If not provided, source column name would be used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScheduledQuery.MultiMeasureAttributeMappingProperty>- Returns:
- a new instance of
CfnScheduledQuery.MultiMeasureAttributeMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-