Class PreferenceRetrieveTopicResponse.Builder
-
- All Implemented Interfaces:
public final class PreferenceRetrieveTopicResponse.BuilderA builder for PreferenceRetrieveTopicResponse.
-
-
Method Summary
Modifier and Type Method Description final PreferenceRetrieveTopicResponse.Buildertopic(TopicPreference topic)final PreferenceRetrieveTopicResponse.Buildertopic(JsonField<TopicPreference> topic)Sets Builder.topic to an arbitrary JSON value. final PreferenceRetrieveTopicResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PreferenceRetrieveTopicResponse.BuilderputAdditionalProperty(String key, JsonValue value)final PreferenceRetrieveTopicResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PreferenceRetrieveTopicResponse.BuilderremoveAdditionalProperty(String key)final PreferenceRetrieveTopicResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final PreferenceRetrieveTopicResponsebuild()Returns an immutable instance of PreferenceRetrieveTopicResponse. -
-
Method Detail
-
topic
final PreferenceRetrieveTopicResponse.Builder topic(TopicPreference topic)
-
topic
final PreferenceRetrieveTopicResponse.Builder topic(JsonField<TopicPreference> topic)
Sets Builder.topic to an arbitrary JSON value.
You should usually call Builder.topic with a well-typed TopicPreference value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PreferenceRetrieveTopicResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PreferenceRetrieveTopicResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PreferenceRetrieveTopicResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PreferenceRetrieveTopicResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PreferenceRetrieveTopicResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PreferenceRetrieveTopicResponse build()
Returns an immutable instance of PreferenceRetrieveTopicResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.topic()
-
-
-
-