Class PreferenceUpdateOrCreateTopicParams.Topic.Builder
-
- All Implemented Interfaces:
public final class PreferenceUpdateOrCreateTopicParams.Topic.BuilderA builder for Topic.
-
-
Method Summary
-
-
Method Detail
-
status
final PreferenceUpdateOrCreateTopicParams.Topic.Builder status(PreferenceStatus status)
-
status
final PreferenceUpdateOrCreateTopicParams.Topic.Builder status(JsonField<PreferenceStatus> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed PreferenceStatus value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
customRouting
final PreferenceUpdateOrCreateTopicParams.Topic.Builder customRouting(List<ChannelClassification> customRouting)
The Channels a user has chosen to receive notifications through for this topic
-
customRouting
final PreferenceUpdateOrCreateTopicParams.Topic.Builder customRouting(Optional<List<ChannelClassification>> customRouting)
Alias for calling Builder.customRouting with
customRouting.orElse(null).
-
customRouting
final PreferenceUpdateOrCreateTopicParams.Topic.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 PreferenceUpdateOrCreateTopicParams.Topic.Builder addCustomRouting(ChannelClassification customRouting)
Adds a single ChannelClassification to Builder.customRouting.
-
hasCustomRouting
final PreferenceUpdateOrCreateTopicParams.Topic.Builder hasCustomRouting(Boolean hasCustomRouting)
-
hasCustomRouting
final PreferenceUpdateOrCreateTopicParams.Topic.Builder hasCustomRouting(Boolean hasCustomRouting)
Alias for Builder.hasCustomRouting.
This unboxed primitive overload exists for backwards compatibility.
-
hasCustomRouting
final PreferenceUpdateOrCreateTopicParams.Topic.Builder hasCustomRouting(Optional<Boolean> hasCustomRouting)
Alias for calling Builder.hasCustomRouting with
hasCustomRouting.orElse(null).
-
hasCustomRouting
final PreferenceUpdateOrCreateTopicParams.Topic.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.
-
additionalProperties
final PreferenceUpdateOrCreateTopicParams.Topic.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PreferenceUpdateOrCreateTopicParams.Topic.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PreferenceUpdateOrCreateTopicParams.Topic.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PreferenceUpdateOrCreateTopicParams.Topic.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PreferenceUpdateOrCreateTopicParams.Topic.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PreferenceUpdateOrCreateTopicParams.Topic build()
Returns an immutable instance of Topic.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.status()
-
-
-
-