Class JourneySegmentTriggerNode.Builder
-
- All Implemented Interfaces:
public final class JourneySegmentTriggerNode.BuilderA builder for JourneySegmentTriggerNode.
-
-
Method Summary
-
-
Method Detail
-
requestType
final JourneySegmentTriggerNode.Builder requestType(JourneySegmentTriggerNode.RequestType requestType)
-
requestType
final JourneySegmentTriggerNode.Builder requestType(JsonField<JourneySegmentTriggerNode.RequestType> requestType)
Sets Builder.requestType to an arbitrary JSON value.
You should usually call Builder.requestType with a well-typed RequestType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
triggerType
final JourneySegmentTriggerNode.Builder triggerType(JourneySegmentTriggerNode.TriggerType triggerType)
-
triggerType
final JourneySegmentTriggerNode.Builder triggerType(JsonField<JourneySegmentTriggerNode.TriggerType> triggerType)
Sets Builder.triggerType to an arbitrary JSON value.
You should usually call Builder.triggerType with a well-typed TriggerType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final JourneySegmentTriggerNode.Builder type(JourneySegmentTriggerNode.Type type)
-
type
final JourneySegmentTriggerNode.Builder type(JsonField<JourneySegmentTriggerNode.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.
-
id
final JourneySegmentTriggerNode.Builder id(String id)
-
id
final JourneySegmentTriggerNode.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.
-
conditions
final JourneySegmentTriggerNode.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 JourneySegmentTriggerNode.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 JourneySegmentTriggerNode.Builder conditions(JourneyConditionGroup conditionGroup)
Alias for calling conditions with
JourneyConditionsField.ofConditionGroup(conditionGroup).
-
conditions
final JourneySegmentTriggerNode.Builder conditions(JourneyConditionNestedGroup conditionNestedGroup)
Alias for calling conditions with
JourneyConditionsField.ofConditionNestedGroup(conditionNestedGroup).
-
conditionsOfConditionAtom
final JourneySegmentTriggerNode.Builder conditionsOfConditionAtom(List<String> conditionAtom)
Alias for calling conditions with
JourneyConditionsField.ofConditionAtom(conditionAtom).
-
eventId
final JourneySegmentTriggerNode.Builder eventId(String eventId)
-
eventId
final JourneySegmentTriggerNode.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId 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 JourneySegmentTriggerNode.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneySegmentTriggerNode.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneySegmentTriggerNode.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneySegmentTriggerNode.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneySegmentTriggerNode.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneySegmentTriggerNode build()
Returns an immutable instance of JourneySegmentTriggerNode.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.requestType() .triggerType() .type()
-
-
-
-