Class InlineIdentifyUserRequest.Builder
-
- All Implemented Interfaces:
public final class InlineIdentifyUserRequest.BuilderA builder for InlineIdentifyUserRequest.
-
-
Method Summary
-
-
Method Detail
-
id
final InlineIdentifyUserRequest.Builder id(String id)
The ID for the user that you set when identifying them in Knock.
-
id
final InlineIdentifyUserRequest.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id 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 InlineIdentifyUserRequest.Builder channelData(InlineChannelDataRequest channelData)
A request to set channel data for a type of channel inline.
-
channelData
final InlineIdentifyUserRequest.Builder channelData(Optional<InlineChannelDataRequest> channelData)
Alias for calling Builder.channelData with
channelData.orElse(null).
-
channelData
final InlineIdentifyUserRequest.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 InlineIdentifyUserRequest.Builder createdAt(OffsetDateTime createdAt)
The creation date of the user from your system.
-
createdAt
final InlineIdentifyUserRequest.Builder createdAt(Optional<OffsetDateTime> createdAt)
Alias for calling Builder.createdAt with
createdAt.orElse(null).
-
createdAt
final InlineIdentifyUserRequest.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 InlineIdentifyUserRequest.Builder email(String email)
The primary email address for the user.
-
email
final InlineIdentifyUserRequest.Builder email(Optional<String> email)
Alias for calling Builder.email with
email.orElse(null).
-
email
final InlineIdentifyUserRequest.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.
-
name
final InlineIdentifyUserRequest.Builder name(String name)
Display name of the user.
-
name
final InlineIdentifyUserRequest.Builder name(Optional<String> name)
Alias for calling Builder.name with
name.orElse(null).
-
name
final InlineIdentifyUserRequest.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.
-
preferences
final InlineIdentifyUserRequest.Builder preferences(InlinePreferenceSetRequest preferences)
Inline set preferences for a recipient, where the key is the preference set id.
-
preferences
final InlineIdentifyUserRequest.Builder preferences(Optional<InlinePreferenceSetRequest> preferences)
Alias for calling Builder.preferences with
preferences.orElse(null).
-
preferences
final InlineIdentifyUserRequest.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 InlineIdentifyUserRequest.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 InlineIdentifyUserRequest.Builder timezone(Optional<String> timezone)
Alias for calling Builder.timezone with
timezone.orElse(null).
-
timezone
final InlineIdentifyUserRequest.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 InlineIdentifyUserRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InlineIdentifyUserRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InlineIdentifyUserRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InlineIdentifyUserRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InlineIdentifyUserRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InlineIdentifyUserRequest build()
Returns an immutable instance of InlineIdentifyUserRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-