Class DefaultPreferences.Item.Builder
-
- All Implemented Interfaces:
public final class DefaultPreferences.Item.BuilderA builder for Item.
-
-
Method Summary
-
-
Method Detail
-
status
final DefaultPreferences.Item.Builder status(SubscriptionTopicNew.Status status)
-
status
final DefaultPreferences.Item.Builder status(JsonField<SubscriptionTopicNew.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed SubscriptionTopicNew.Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customRouting
final DefaultPreferences.Item.Builder customRouting(List<ChannelClassification> customRouting)
The default channels to send to this tenant when has_custom_routing is enabled
-
customRouting
final DefaultPreferences.Item.Builder customRouting(Optional<List<ChannelClassification>> customRouting)
Alias for calling Builder.customRouting with
customRouting.orElse(null).
-
customRouting
final DefaultPreferences.Item.Builder customRouting(JsonField<List<ChannelClassification>> customRouting)
Sets Builder.customRouting to an arbitrary JSON value.
You should usually call Builder.customRouting with a well-typed
List<ChannelClassification>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCustomRouting
final DefaultPreferences.Item.Builder addCustomRouting(ChannelClassification customRouting)
Adds a single ChannelClassification to Builder.customRouting.
-
hasCustomRouting
final DefaultPreferences.Item.Builder hasCustomRouting(Boolean hasCustomRouting)
Override channel routing with custom preferences. This will override any template preferences that are set, but a user can still customize their preferences
-
hasCustomRouting
final DefaultPreferences.Item.Builder hasCustomRouting(Boolean hasCustomRouting)
Alias for Builder.hasCustomRouting.
This unboxed primitive overload exists for backwards compatibility.
-
hasCustomRouting
final DefaultPreferences.Item.Builder hasCustomRouting(Optional<Boolean> hasCustomRouting)
Alias for calling Builder.hasCustomRouting with
hasCustomRouting.orElse(null).
-
hasCustomRouting
final DefaultPreferences.Item.Builder hasCustomRouting(JsonField<Boolean> hasCustomRouting)
Sets Builder.hasCustomRouting to an arbitrary JSON value.
You should usually call Builder.hasCustomRouting with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final DefaultPreferences.Item.Builder id(String id)
Topic ID
-
id
final DefaultPreferences.Item.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.
-
additionalProperties
final DefaultPreferences.Item.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DefaultPreferences.Item.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DefaultPreferences.Item.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DefaultPreferences.Item.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DefaultPreferences.Item.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DefaultPreferences.Item build()
Returns an immutable instance of Item.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.status() .id()
-
-
-
-