Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
extensions/com.tealium.prism.extensions.api.persistdatavalue/PersistDataValueSettingsBuilder

PersistDataValueSettingsBuilder

class PersistDataValueSettingsBuilder(transformationId: String) : TransformationSettingsBuilder<PersistDataValueSettingsBuilder>

Builder class for configuring and creating settings for persisting data values.

Parameters

transformationId

The unique identifier for the transformation operation. This ID is used to associate the settings with a specific transformation.

Constructors

PersistDataValueSettingsBuilder
Link copied to clipboard
constructor(transformationId: String)

Properties

transformationId
Link copied to clipboard
val transformationId: String
transformerId
Link copied to clipboard
val transformerId: String

Functions

build
Link copied to clipboard
fun build(): DataObject
persistConstant
Link copied to clipboard
fun persistConstant(input: DataItem, destination: ReferenceContainer): PersistDataValueSettingsBuilder

Configures the settings to persist a constant value to a given destination.

persistFrom
Link copied to clipboard
fun persistFrom(input: ReferenceContainer, destination: ReferenceContainer): PersistDataValueSettingsBuilder

Configures the settings to persist a value from a reference container to a given destination.

setCondition
Link copied to clipboard
fun setCondition(condition: Rule<Condition>): PersistDataValueSettingsBuilder
setExpiryPolicy
Link copied to clipboard
fun setExpiryPolicy(expiryPolicy: ExpiryPolicy): PersistDataValueSettingsBuilder

Sets the expiry policy for the persisted value. The expiry policy determines how long the persisted value should be retained before it expires. By default, the expiry policy is set to SESSION, which means the value will expire at the end of the session.

setOrder
Link copied to clipboard
fun setOrder(order: Int): PersistDataValueSettingsBuilder
setScope
Link copied to clipboard
fun setScope(scope: TransformationScope): PersistDataValueSettingsBuilder
setUpdatePolicy
Link copied to clipboard
fun setUpdatePolicy(updatePolicy: UpdatePolicy): PersistDataValueSettingsBuilder

Sets the update policy for the persisted value. The update policy determines whether the persisted value can be updated with new values after it has been set. By default, the update policy is set to ALLOW_UPDATE, which means the value can be updated with new values.

Generated by Dokka
(c) Tealium 2026