Class JourneyNode.JourneyBatchNode.Retain
-
- All Implemented Interfaces:
public final class JourneyNode.JourneyBatchNode.RetainHow to select which collected events to retain in the aggregated payload when the batch releases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyNode.JourneyBatchNode.Retain.BuilderA builder for Retain.
public final classJourneyNode.JourneyBatchNode.Retain.Type
-
Method Summary
Modifier and Type Method Description final Longcount()final JourneyNode.JourneyBatchNode.Retain.Typetype()final Optional<String>sortKey()Dot-path into the event payload (e.g. final JsonField<Long>_count()Returns the raw JSON value of count. final JsonField<JourneyNode.JourneyBatchNode.Retain.Type>_type()Returns the raw JSON value of type. final JsonField<String>_sortKey()Returns the raw JSON value of sortKey. final Map<String, JsonValue>_additionalProperties()final JourneyNode.JourneyBatchNode.Retain.BuildertoBuilder()final JourneyNode.JourneyBatchNode.Retainvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JourneyNode.JourneyBatchNode.Retain.Builderbuilder()Returns a mutable builder for constructing an instance of Retain. -
-
Method Detail
-
type
final JourneyNode.JourneyBatchNode.Retain.Type type()
-
sortKey
final Optional<String> sortKey()
Dot-path into the event payload (e.g.
data.priority). Required whentypeishighestorlowest.
-
_count
final JsonField<Long> _count()
Returns the raw JSON value of count.
Unlike count, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<JourneyNode.JourneyBatchNode.Retain.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_sortKey
final JsonField<String> _sortKey()
Returns the raw JSON value of sortKey.
Unlike sortKey, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JourneyNode.JourneyBatchNode.Retain.Builder toBuilder()
-
validate
final JourneyNode.JourneyBatchNode.Retain validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JourneyNode.JourneyBatchNode.Retain.Builder builder()
Returns a mutable builder for constructing an instance of Retain.
The following fields are required:
.count() .type()
-
-
-
-