Class InboundBulkMessage.Builder
-
- All Implemented Interfaces:
public final class InboundBulkMessage.BuilderA builder for InboundBulkMessage.
-
-
Method Summary
-
-
Method Detail
-
event
final InboundBulkMessage.Builder event(String event)
Event ID or Notification ID (required). Can be either a Notification ID (e.g., "FRH3QXM9E34W4RKP7MRC8NZ1T8V8") or a custom Event ID (e.g., "welcome-email") mapped to a notification.
-
event
final InboundBulkMessage.Builder event(JsonField<String> event)
Sets Builder.event to an arbitrary JSON value.
You should usually call Builder.event with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
brand
final InboundBulkMessage.Builder brand(String brand)
-
brand
final InboundBulkMessage.Builder brand(Optional<String> brand)
Alias for calling Builder.brand with
brand.orElse(null).
-
brand
final InboundBulkMessage.Builder brand(JsonField<String> brand)
Sets Builder.brand to an arbitrary JSON value.
You should usually call Builder.brand with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final InboundBulkMessage.Builder content(InboundBulkMessage.Content content)
Elemental content (optional, for V2 format). When provided, this will be used instead of the notification associated with the
eventfield.
-
content
final InboundBulkMessage.Builder content(Optional<InboundBulkMessage.Content> content)
Alias for calling Builder.content with
content.orElse(null).
-
content
final InboundBulkMessage.Builder content(JsonField<InboundBulkMessage.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.
-
content
final InboundBulkMessage.Builder content(ElementalContentSugar elementalContentSugar)
Alias for calling content with
Content.ofElementalContentSugar(elementalContentSugar).
-
content
final InboundBulkMessage.Builder content(ElementalContent elemental)
Alias for calling content with
Content.ofElemental(elemental).
-
data
final InboundBulkMessage.Builder data(InboundBulkMessage.Data data)
-
data
final InboundBulkMessage.Builder data(Optional<InboundBulkMessage.Data> data)
Alias for calling Builder.data with
data.orElse(null).
-
data
final InboundBulkMessage.Builder data(JsonField<InboundBulkMessage.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locale
final InboundBulkMessage.Builder locale(InboundBulkMessage.Locale locale)
-
locale
final InboundBulkMessage.Builder locale(Optional<InboundBulkMessage.Locale> locale)
Alias for calling Builder.locale with
locale.orElse(null).
-
locale
final InboundBulkMessage.Builder locale(JsonField<InboundBulkMessage.Locale> locale)
Sets Builder.locale to an arbitrary JSON value.
You should usually call Builder.locale with a well-typed Locale value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
override
final InboundBulkMessage.Builder override(InboundBulkMessage.Override override)
-
override
final InboundBulkMessage.Builder override(Optional<InboundBulkMessage.Override> override)
Alias for calling Builder.override with
override.orElse(null).
-
override
final InboundBulkMessage.Builder override(JsonField<InboundBulkMessage.Override> override)
Sets Builder.override to an arbitrary JSON value.
You should usually call Builder.override with a well-typed Override value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
template
final InboundBulkMessage.Builder template(String template)
Notification ID or template ID (optional, for V2 format). When provided, this will be used instead of the notification associated with the
eventfield.
-
template
final InboundBulkMessage.Builder template(Optional<String> template)
Alias for calling Builder.template with
template.orElse(null).
-
template
final InboundBulkMessage.Builder template(JsonField<String> template)
Sets Builder.template to an arbitrary JSON value.
You should usually call Builder.template 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 InboundBulkMessage.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InboundBulkMessage.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InboundBulkMessage.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InboundBulkMessage.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InboundBulkMessage.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InboundBulkMessage build()
Returns an immutable instance of InboundBulkMessage.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.event()
-
-
-
-