Package com.oracle.bmc.iot.model
Class DigitalTwinAdapterEnvelopeMapping.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.model.DigitalTwinAdapterEnvelopeMapping.Builder
-
- Enclosing class:
- DigitalTwinAdapterEnvelopeMapping
public static class DigitalTwinAdapterEnvelopeMapping.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigitalTwinAdapterEnvelopeMappingbuild()DigitalTwinAdapterEnvelopeMapping.Buildercopy(DigitalTwinAdapterEnvelopeMapping model)DigitalTwinAdapterEnvelopeMapping.BuildertimeObserved(String timeObserved)JQ expression to extract the observation timestamp from the payload.
-
-
-
Method Detail
-
timeObserved
public DigitalTwinAdapterEnvelopeMapping.Builder timeObserved(String timeObserved)
JQ expression to extract the observation timestamp from the payload.If not specified, the system will default to using timeReceived as the timestamp.
Example: For payload {"time": "
","temp": 65,"hum": 55} 'timeObserved' can be mapped as [JQ Expression](https://jqplay.org/) $.time. - Parameters:
timeObserved- the value to set- Returns:
- this builder
-
build
public DigitalTwinAdapterEnvelopeMapping build()
-
copy
public DigitalTwinAdapterEnvelopeMapping.Builder copy(DigitalTwinAdapterEnvelopeMapping model)
-
-