Class PreferenceSetRequest.Builder
-
- All Implemented Interfaces:
public final class PreferenceSetRequest.BuilderA builder for PreferenceSetRequest.
-
-
Method Summary
-
-
Method Detail
-
categories
final PreferenceSetRequest.Builder categories(PreferenceSetRequest.Categories categories)
An object where the key is the category and the values are the preference settings for that category.
-
categories
final PreferenceSetRequest.Builder categories(Optional<PreferenceSetRequest.Categories> categories)
Alias for calling Builder.categories with
categories.orElse(null).
-
categories
final PreferenceSetRequest.Builder categories(JsonField<PreferenceSetRequest.Categories> categories)
Sets Builder.categories to an arbitrary JSON value.
You should usually call Builder.categories with a well-typed Categories value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channelTypes
final PreferenceSetRequest.Builder channelTypes(PreferenceSetChannelTypes channelTypes)
Channel type preferences.
-
channelTypes
final PreferenceSetRequest.Builder channelTypes(Optional<PreferenceSetChannelTypes> channelTypes)
Alias for calling Builder.channelTypes with
channelTypes.orElse(null).
-
channelTypes
final PreferenceSetRequest.Builder channelTypes(JsonField<PreferenceSetChannelTypes> channelTypes)
Sets Builder.channelTypes to an arbitrary JSON value.
You should usually call Builder.channelTypes with a well-typed PreferenceSetChannelTypes value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workflows
final PreferenceSetRequest.Builder workflows(PreferenceSetRequest.Workflows workflows)
An object where the key is the workflow key and the values are the preference settings for that workflow.
-
workflows
final PreferenceSetRequest.Builder workflows(Optional<PreferenceSetRequest.Workflows> workflows)
Alias for calling Builder.workflows with
workflows.orElse(null).
-
workflows
final PreferenceSetRequest.Builder workflows(JsonField<PreferenceSetRequest.Workflows> workflows)
Sets Builder.workflows to an arbitrary JSON value.
You should usually call Builder.workflows with a well-typed Workflows value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PreferenceSetRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PreferenceSetRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PreferenceSetRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PreferenceSetRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PreferenceSetRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PreferenceSetRequest build()
Returns an immutable instance of PreferenceSetRequest.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-