Class CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetTimestreamParametersProperty>
- Enclosing interface:
CfnPipePropsMixin.PipeTargetTimestreamParametersProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetTimestreamParametersProperty>
A builder for
CfnPipePropsMixin.PipeTargetTimestreamParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensionMappings(List<? extends Object> dimensionMappings) dimensionMappings(IResolvable dimensionMappings) epochTimeUnit(String epochTimeUnit) multiMeasureMappings(List<? extends Object> multiMeasureMappings) multiMeasureMappings(IResolvable multiMeasureMappings) singleMeasureMappings(List<? extends Object> singleMeasureMappings) singleMeasureMappings(IResolvable singleMeasureMappings) timeFieldType(String timeFieldType) timestampFormat(String timestampFormat) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getTimeValue()versionValue(String versionValue)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder dimensionMappings(IResolvable dimensionMappings) - Parameters:
dimensionMappings- Map source data to dimensions in the target Timestream for LiveAnalytics table. For more information, see Amazon Timestream for LiveAnalytics concepts- Returns:
this
-
dimensionMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder dimensionMappings(List<? extends Object> dimensionMappings) - Parameters:
dimensionMappings- Map source data to dimensions in the target Timestream for LiveAnalytics table. For more information, see Amazon Timestream for LiveAnalytics concepts- Returns:
this
-
epochTimeUnit
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder epochTimeUnit(String epochTimeUnit) - Parameters:
epochTimeUnit- The granularity of the time units used. Default isMILLISECONDS. Required ifTimeFieldTypeis specified asEPOCH.- Returns:
this
-
multiMeasureMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder multiMeasureMappings(IResolvable multiMeasureMappings) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getMultiMeasureMappings()- Parameters:
multiMeasureMappings- Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.- Returns:
this
-
multiMeasureMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder multiMeasureMappings(List<? extends Object> multiMeasureMappings) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getMultiMeasureMappings()- Parameters:
multiMeasureMappings- Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.- Returns:
this
-
singleMeasureMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder singleMeasureMappings(IResolvable singleMeasureMappings) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getSingleMeasureMappings()- Parameters:
singleMeasureMappings- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.- Returns:
this
-
singleMeasureMappings
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder singleMeasureMappings(List<? extends Object> singleMeasureMappings) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getSingleMeasureMappings()- Parameters:
singleMeasureMappings- Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.- Returns:
this
-
timeFieldType
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder timeFieldType(String timeFieldType) - Parameters:
timeFieldType- The type of time value used. The default isEPOCH.- Returns:
this
-
timestampFormat
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder timestampFormat(String timestampFormat) - Parameters:
timestampFormat- How to format the timestamps. For example,yyyy-MM-dd'T'HH:mm:ss'Z'. Required ifTimeFieldTypeis specified asTIMESTAMP_FORMAT.- Returns:
this
-
timeValue
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder timeValue(String timeValue) Sets the value ofCfnPipePropsMixin.PipeTargetTimestreamParametersProperty.getTimeValue()- Parameters:
timeValue- Dynamic path to the source data field that represents the time value for your data.- Returns:
this
-
versionValue
@Stability(Stable) public CfnPipePropsMixin.PipeTargetTimestreamParametersProperty.Builder versionValue(String versionValue) - Parameters:
versionValue- 64 bit version value or source data field that represents the version value for your data. Write requests with a higher version number will update the existing measure values of the record and version. In cases where the measure value is the same, the version will still be updated.Default value is 1.
Timestream for LiveAnalytics does not support updating partial measure values in a record.
Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same,
Versionwill still be updated. Default value is1.Versionmust be1or greater, or you will receive aValidationExceptionerror.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.PipeTargetTimestreamParametersProperty>- Returns:
- a new instance of
CfnPipePropsMixin.PipeTargetTimestreamParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-