Class StitchMessage.Builder
java.lang.Object
org.apache.camel.component.stitch.client.models.StitchMessage.Builder
- Enclosing class:
- StitchMessage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAction
(StitchMessage.Action action) This will always be upsert.The record to be upserted into a table.withSequence
(long sequence) An integer that tells the Import API the order in which data points in the request body should be considered for loading.
-
Method Details
-
withAction
This will always be upsert. Default: upsert- Parameters:
action
-
-
withSequence
An integer that tells the Import API the order in which data points in the request body should be considered for loading. This data will be stored in the destination table in the _sdc_sequence column. In other Stitch integrations, Stitch uses a Unix epoch (in milliseconds) as the value for this property. Note: This value cannot exceed the maximum of 9223372036854775807. Default: System.currentTimeMillis();- Parameters:
sequence
-
-
withData
The record to be upserted into a table. The record data must conform to the JSON schema contained in the request’s Schema object.- Parameters:
data
-
-
withData
-
build
-