Class CfnPipe.SingleMeasureMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.SingleMeasureMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.SingleMeasureMappingProperty>
- Enclosing interface:
CfnPipe.SingleMeasureMappingProperty
@Stability(Stable)
public static final class CfnPipe.SingleMeasureMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.SingleMeasureMappingProperty>
A builder for
CfnPipe.SingleMeasureMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.measureName(String measureName) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureName()measureValue(String measureValue) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureValue()measureValueType(String measureValueType) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureValueType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
measureName
@Stability(Stable) public CfnPipe.SingleMeasureMappingProperty.Builder measureName(String measureName) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureName()- Parameters:
measureName- Target measure name for the measurement attribute in the Timestream table. This parameter is required.- Returns:
this
-
measureValue
@Stability(Stable) public CfnPipe.SingleMeasureMappingProperty.Builder measureValue(String measureValue) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureValue()- Parameters:
measureValue- Dynamic path of the source field to map to the measure in the record. This parameter is required.- Returns:
this
-
measureValueType
@Stability(Stable) public CfnPipe.SingleMeasureMappingProperty.Builder measureValueType(String measureValueType) Sets the value ofCfnPipe.SingleMeasureMappingProperty.getMeasureValueType()- Parameters:
measureValueType- Data type of the source field. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipe.SingleMeasureMappingProperty>- Returns:
- a new instance of
CfnPipe.SingleMeasureMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-