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