Class JourneyNode.JourneyBatchNode.Retain.Builder
-
- All Implemented Interfaces:
public final class JourneyNode.JourneyBatchNode.Retain.BuilderA builder for Retain.
-
-
Method Summary
-
-
Method Detail
-
count
final JourneyNode.JourneyBatchNode.Retain.Builder count(Long count)
-
count
final JourneyNode.JourneyBatchNode.Retain.Builder count(JsonField<Long> count)
Sets Builder.count to an arbitrary JSON value.
You should usually call Builder.count with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final JourneyNode.JourneyBatchNode.Retain.Builder type(JourneyNode.JourneyBatchNode.Retain.Type type)
-
type
final JourneyNode.JourneyBatchNode.Retain.Builder type(JsonField<JourneyNode.JourneyBatchNode.Retain.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.
-
sortKey
final JourneyNode.JourneyBatchNode.Retain.Builder sortKey(String sortKey)
Dot-path into the event payload (e.g.
data.priority). Required whentypeishighestorlowest.
-
sortKey
final JourneyNode.JourneyBatchNode.Retain.Builder sortKey(JsonField<String> sortKey)
Sets Builder.sortKey to an arbitrary JSON value.
You should usually call Builder.sortKey with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JourneyNode.JourneyBatchNode.Retain.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyNode.JourneyBatchNode.Retain.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyNode.JourneyBatchNode.Retain.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyNode.JourneyBatchNode.Retain.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyNode.JourneyBatchNode.Retain.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyNode.JourneyBatchNode.Retain build()
Returns an immutable instance of Retain.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.count() .type()
-
-
-
-