Class IdentifyUserRequest.Builder
-
- All Implemented Interfaces:
public final class IdentifyUserRequest.BuilderA builder for IdentifyUserRequest.
-
-
Method Summary
-
-
Method Detail
-
avatar
final IdentifyUserRequest.Builder avatar(String avatar)
URL to the user's avatar image.
-
avatar
final IdentifyUserRequest.Builder avatar(Optional<String> avatar)
Alias for calling Builder.avatar with
avatar.orElse(null).
-
avatar
final IdentifyUserRequest.Builder avatar(JsonField<String> avatar)
Sets Builder.avatar to an arbitrary JSON value.
You should usually call Builder.avatar with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channelData
final IdentifyUserRequest.Builder channelData(InlineChannelDataRequest channelData)
A request to set channel data for a type of channel inline.
-
channelData
final IdentifyUserRequest.Builder channelData(Optional<InlineChannelDataRequest> channelData)
Alias for calling Builder.channelData with
channelData.orElse(null).
-
channelData
final IdentifyUserRequest.Builder channelData(JsonField<InlineChannelDataRequest> channelData)
Sets Builder.channelData to an arbitrary JSON value.
You should usually call Builder.channelData with a well-typed InlineChannelDataRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
createdAt
final IdentifyUserRequest.Builder createdAt(OffsetDateTime createdAt)
The creation date of the user from your system.
-
createdAt
final IdentifyUserRequest.Builder createdAt(Optional<OffsetDateTime> createdAt)
Alias for calling Builder.createdAt with
createdAt.orElse(null).
-
createdAt
final IdentifyUserRequest.Builder createdAt(JsonField<OffsetDateTime> createdAt)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final IdentifyUserRequest.Builder email(String email)
The primary email address for the user.
-
email
final IdentifyUserRequest.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final IdentifyUserRequest.Builder email(JsonField<String> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locale
final IdentifyUserRequest.Builder locale(String locale)
The locale of the user. Used for /concepts/translations.
-
locale
final IdentifyUserRequest.Builder locale(Optional<String> locale)
Alias for calling Builder.locale with
locale.orElse(null).
-
locale
final IdentifyUserRequest.Builder locale(JsonField<String> locale)
Sets Builder.locale to an arbitrary JSON value.
You should usually call Builder.locale with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final IdentifyUserRequest.Builder name(String name)
Display name of the user.
-
name
final IdentifyUserRequest.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final IdentifyUserRequest.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.
-
phoneNumber
final IdentifyUserRequest.Builder phoneNumber(String phoneNumber)
The E.164 phone number of the user (required for SMS channels).
-
phoneNumber
final IdentifyUserRequest.Builder phoneNumber(Optional<String> phoneNumber)
Alias for calling Builder.phoneNumber with
phoneNumber.orElse(null).
-
phoneNumber
final IdentifyUserRequest.Builder phoneNumber(JsonField<String> phoneNumber)
Sets Builder.phoneNumber to an arbitrary JSON value.
You should usually call Builder.phoneNumber with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
preferences
final IdentifyUserRequest.Builder preferences(InlinePreferenceSetRequest preferences)
Inline set preferences for a recipient, where the key is the preference set id.
-
preferences
final IdentifyUserRequest.Builder preferences(Optional<InlinePreferenceSetRequest> preferences)
Alias for calling Builder.preferences with
preferences.orElse(null).
-
preferences
final IdentifyUserRequest.Builder preferences(JsonField<InlinePreferenceSetRequest> preferences)
Sets Builder.preferences to an arbitrary JSON value.
You should usually call Builder.preferences with a well-typed InlinePreferenceSetRequest value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timezone
final IdentifyUserRequest.Builder timezone(String timezone)
The timezone of the user. Must be a valid tz database time zone * string. Used for /concepts/schedules#scheduling-workflows-with-recurring-schedules-for-recipients.
-
timezone
final IdentifyUserRequest.Builder timezone(Optional<String> timezone)
Alias for calling Builder.timezone with
timezone.orElse(null).
-
timezone
final IdentifyUserRequest.Builder timezone(JsonField<String> timezone)
Sets Builder.timezone to an arbitrary JSON value.
You should usually call Builder.timezone 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 IdentifyUserRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final IdentifyUserRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final IdentifyUserRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final IdentifyUserRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final IdentifyUserRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final IdentifyUserRequest build()
Returns an immutable instance of IdentifyUserRequest.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-