Class InboundBulkMessageUser.Builder
-
- All Implemented Interfaces:
public final class InboundBulkMessageUser.BuilderA builder for InboundBulkMessageUser.
-
-
Method Summary
-
-
Method Detail
-
data
final InboundBulkMessageUser.Builder data(JsonValue data)
User-specific data that will be merged with message.data
-
preferences
final InboundBulkMessageUser.Builder preferences(RecipientPreferences preferences)
-
preferences
final InboundBulkMessageUser.Builder preferences(Optional<RecipientPreferences> preferences)
Alias for calling Builder.preferences with
preferences.orElse(null).
-
preferences
final InboundBulkMessageUser.Builder preferences(JsonField<RecipientPreferences> preferences)
Sets Builder.preferences to an arbitrary JSON value.
You should usually call Builder.preferences with a well-typed RecipientPreferences value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
profile
final InboundBulkMessageUser.Builder profile(InboundBulkMessageUser.Profile profile)
User profile information. For email-based bulk jobs,
profile.emailis required for provider routing to determine if the message can be delivered. The email address should be provided here rather than into.email.
-
profile
final InboundBulkMessageUser.Builder profile(Optional<InboundBulkMessageUser.Profile> profile)
Alias for calling Builder.profile with
profile.orElse(null).
-
profile
final InboundBulkMessageUser.Builder profile(JsonField<InboundBulkMessageUser.Profile> profile)
Sets Builder.profile to an arbitrary JSON value.
You should usually call Builder.profile with a well-typed Profile value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
recipient
final InboundBulkMessageUser.Builder recipient(String recipient)
User ID (legacy field, use profile or to.user_id instead)
-
recipient
final InboundBulkMessageUser.Builder recipient(Optional<String> recipient)
Alias for calling Builder.recipient with
recipient.orElse(null).
-
recipient
final InboundBulkMessageUser.Builder recipient(JsonField<String> recipient)
Sets Builder.recipient to an arbitrary JSON value.
You should usually call Builder.recipient with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
to
final InboundBulkMessageUser.Builder to(UserRecipient to)
Optional recipient information. Note: For email provider routing, use
profile.emailinstead ofto.email. Thetofield is primarily used for recipient identification and data merging.
-
to
final InboundBulkMessageUser.Builder to(Optional<UserRecipient> to)
Alias for calling Builder.to with
to.orElse(null).
-
to
final InboundBulkMessageUser.Builder to(JsonField<UserRecipient> to)
Sets Builder.to to an arbitrary JSON value.
You should usually call Builder.to with a well-typed UserRecipient value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InboundBulkMessageUser.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InboundBulkMessageUser.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InboundBulkMessageUser.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InboundBulkMessageUser.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InboundBulkMessageUser.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InboundBulkMessageUser build()
Returns an immutable instance of InboundBulkMessageUser.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-