Class JourneyTemplateReplaceRequest.Notification.Content.Builder
-
- All Implemented Interfaces:
public final class JourneyTemplateReplaceRequest.Notification.Content.BuilderA builder for Content.
-
-
Method Summary
-
-
Method Detail
-
elements
final JourneyTemplateReplaceRequest.Notification.Content.Builder elements(List<ElementalNode> elements)
-
elements
final JourneyTemplateReplaceRequest.Notification.Content.Builder elements(JsonField<List<ElementalNode>> elements)
Sets Builder.elements to an arbitrary JSON value.
You should usually call Builder.elements with a well-typed
List<ElementalNode>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalNode element)
Adds a single ElementalNode to elements.
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalTextNodeWithType textNodeWithType)
Alias for calling addElement with
ElementalNode.ofTextNodeWithType(textNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalMetaNodeWithType metaNodeWithType)
Alias for calling addElement with
ElementalNode.ofMetaNodeWithType(metaNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalChannelNodeWithType channelNodeWithType)
Alias for calling addElement with
ElementalNode.ofChannelNodeWithType(channelNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalImageNodeWithType imageNodeWithType)
Alias for calling addElement with
ElementalNode.ofImageNodeWithType(imageNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalActionNodeWithType actionNodeWithType)
Alias for calling addElement with
ElementalNode.ofActionNodeWithType(actionNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalDividerNodeWithType dividerNodeWithType)
Alias for calling addElement with
ElementalNode.ofDividerNodeWithType(dividerNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalQuoteNodeWithType quoteNodeWithType)
Alias for calling addElement with
ElementalNode.ofQuoteNodeWithType(quoteNodeWithType).
-
addElement
final JourneyTemplateReplaceRequest.Notification.Content.Builder addElement(ElementalHtmlNodeWithType htmlNodeWithType)
Alias for calling addElement with
ElementalNode.ofHtmlNodeWithType(htmlNodeWithType).
-
version
final JourneyTemplateReplaceRequest.Notification.Content.Builder version(JourneyTemplateReplaceRequest.Notification.Content.Version version)
-
version
final JourneyTemplateReplaceRequest.Notification.Content.Builder version(JsonField<JourneyTemplateReplaceRequest.Notification.Content.Version> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version with a well-typed Version value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
scope
final JourneyTemplateReplaceRequest.Notification.Content.Builder scope(JourneyTemplateReplaceRequest.Notification.Content.Scope scope)
-
scope
final JourneyTemplateReplaceRequest.Notification.Content.Builder scope(JsonField<JourneyTemplateReplaceRequest.Notification.Content.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.
-
additionalProperties
final JourneyTemplateReplaceRequest.Notification.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyTemplateReplaceRequest.Notification.Content.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyTemplateReplaceRequest.Notification.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyTemplateReplaceRequest.Notification.Content.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyTemplateReplaceRequest.Notification.Content.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyTemplateReplaceRequest.Notification.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.elements() .version()
-
-
-
-