Class JourneyTemplateReplaceRequest.Notification.Builder
-
- All Implemented Interfaces:
public final class JourneyTemplateReplaceRequest.Notification.BuilderA builder for Notification.
-
-
Method Summary
-
-
Method Detail
-
brand
final JourneyTemplateReplaceRequest.Notification.Builder brand(JourneyTemplateReplaceRequest.Notification.Brand brand)
-
brand
final JourneyTemplateReplaceRequest.Notification.Builder brand(Optional<JourneyTemplateReplaceRequest.Notification.Brand> brand)
Alias for calling Builder.brand with
brand.orElse(null).
-
brand
final JourneyTemplateReplaceRequest.Notification.Builder brand(JsonField<JourneyTemplateReplaceRequest.Notification.Brand> brand)
Sets Builder.brand to an arbitrary JSON value.
You should usually call Builder.brand with a well-typed Brand value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final JourneyTemplateReplaceRequest.Notification.Builder content(JourneyTemplateReplaceRequest.Notification.Content content)
-
content
final JourneyTemplateReplaceRequest.Notification.Builder content(JsonField<JourneyTemplateReplaceRequest.Notification.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final JourneyTemplateReplaceRequest.Notification.Builder name(String name)
-
name
final JourneyTemplateReplaceRequest.Notification.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
subscription
final JourneyTemplateReplaceRequest.Notification.Builder subscription(JourneyTemplateReplaceRequest.Notification.Subscription subscription)
-
subscription
final JourneyTemplateReplaceRequest.Notification.Builder subscription(Optional<JourneyTemplateReplaceRequest.Notification.Subscription> subscription)
Alias for calling Builder.subscription with
subscription.orElse(null).
-
subscription
final JourneyTemplateReplaceRequest.Notification.Builder subscription(JsonField<JourneyTemplateReplaceRequest.Notification.Subscription> subscription)
Sets Builder.subscription to an arbitrary JSON value.
You should usually call Builder.subscription with a well-typed Subscription value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final JourneyTemplateReplaceRequest.Notification.Builder tags(List<String> tags)
-
tags
final JourneyTemplateReplaceRequest.Notification.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final JourneyTemplateReplaceRequest.Notification.Builder addTag(String tag)
-
additionalProperties
final JourneyTemplateReplaceRequest.Notification.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JourneyTemplateReplaceRequest.Notification.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JourneyTemplateReplaceRequest.Notification.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JourneyTemplateReplaceRequest.Notification.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JourneyTemplateReplaceRequest.Notification.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JourneyTemplateReplaceRequest.Notification build()
Returns an immutable instance of Notification.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.brand() .content() .name() .subscription() .tags()
-
-
-
-