Class JourneyNode.JourneyBatchNode.Builder
-
- All Implemented Interfaces:
public final class JourneyNode.JourneyBatchNode.BuilderA builder for JourneyBatchNode.
-
-
Method Summary
-
-
Method Detail
-
maxWaitPeriod
final JourneyNode.JourneyBatchNode.Builder maxWaitPeriod(String maxWaitPeriod)
ISO 8601 duration. Hard ceiling from the first event into the batch; releases the batch unconditionally when it elapses.
-
maxWaitPeriod
final JourneyNode.JourneyBatchNode.Builder maxWaitPeriod(JsonField<String> maxWaitPeriod)
Sets Builder.maxWaitPeriod to an arbitrary JSON value.
You should usually call Builder.maxWaitPeriod with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
retain
final JourneyNode.JourneyBatchNode.Builder retain(JourneyNode.JourneyBatchNode.Retain retain)
How to select which collected events to retain in the aggregated payload when the batch releases.
-
retain
final JourneyNode.JourneyBatchNode.Builder retain(JsonField<JourneyNode.JourneyBatchNode.Retain> retain)
Sets Builder.retain to an arbitrary JSON value.
You should usually call Builder.retain with a well-typed Retain value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scope
final JourneyNode.JourneyBatchNode.Builder scope(JourneyNode.JourneyBatchNode.Scope scope)
-
scope
final JourneyNode.JourneyBatchNode.Builder scope(JsonField<JourneyNode.JourneyBatchNode.Scope> scope)
Sets Builder.scope to an arbitrary JSON value.
You should usually call Builder.scope with a well-typed Scope value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final JourneyNode.JourneyBatchNode.Builder type(JourneyNode.JourneyBatchNode.Type type)
-
type
final JourneyNode.JourneyBatchNode.Builder type(JsonField<JourneyNode.JourneyBatchNode.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
waitPeriod
final JourneyNode.JourneyBatchNode.Builder waitPeriod(String waitPeriod)
ISO 8601 duration. Quiet window that releases the batch when it elapses with no new contributing events. Must be less than
max_wait_period.
-
waitPeriod
final JourneyNode.JourneyBatchNode.Builder waitPeriod(JsonField<String> waitPeriod)
Sets Builder.waitPeriod to an arbitrary JSON value.
You should usually call Builder.waitPeriod with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final JourneyNode.JourneyBatchNode.Builder id(String id)
-
id
final JourneyNode.JourneyBatchNode.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
categoryKey
final JourneyNode.JourneyBatchNode.Builder categoryKey(String categoryKey)
Optional partition key. Events with the same
category_keyare batched together; events with different values are batched separately.
-
categoryKey
final JourneyNode.JourneyBatchNode.Builder categoryKey(JsonField<String> categoryKey)
Sets Builder.categoryKey to an arbitrary JSON value.
You should usually call Builder.categoryKey with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
conditions
final JourneyNode.JourneyBatchNode.Builder conditions(JourneyConditionsField conditions)
Condition spec for a journey node. Accepts a single condition atom, an AND/OR group, or an AND/OR nested group. Omit the
conditionsproperty entirely to express "no conditions".
-
conditions
final JourneyNode.JourneyBatchNode.Builder conditions(JsonField<JourneyConditionsField> conditions)
Sets Builder.conditions to an arbitrary JSON value.
You should usually call Builder.conditions with a well-typed JourneyConditionsField value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
conditions
final JourneyNode.JourneyBatchNode.Builder conditions(JourneyConditionGroup conditionGroup)
Alias for calling conditions with
JourneyConditionsField.ofConditionGroup(conditionGroup).
-
conditions
final JourneyNode.JourneyBatchNode.Builder conditions(JourneyConditionNestedGroup conditionNestedGroup)
Alias for calling conditions with
JourneyConditionsField.ofConditionNestedGroup(conditionNestedGroup).
-
conditionsOfConditionAtom
final JourneyNode.JourneyBatchNode.Builder conditionsOfConditionAtom(List<String> conditionAtom)
Alias for calling conditions with
JourneyConditionsField.ofConditionAtom(conditionAtom).
-
maxItems
final JourneyNode.JourneyBatchNode.Builder maxItems(Long maxItems)
Releases the batch once this many events have been collected.
-
maxItems
final JourneyNode.JourneyBatchNode.Builder maxItems(JsonField<Long> maxItems)
Sets Builder.maxItems to an arbitrary JSON value.
You should usually call Builder.maxItems with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JourneyNode.JourneyBatchNode.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyNode.JourneyBatchNode.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyNode.JourneyBatchNode.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyNode.JourneyBatchNode.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyNode.JourneyBatchNode.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyNode.JourneyBatchNode build()
Returns an immutable instance of JourneyBatchNode.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.maxWaitPeriod() .retain() .scope() .type() .waitPeriod()
-
-
-
-