Class PreferenceSetChannelTypes.Builder
-
- All Implemented Interfaces:
public final class PreferenceSetChannelTypes.BuilderA builder for PreferenceSetChannelTypes.
-
-
Method Summary
Modifier and Type Method Description final PreferenceSetChannelTypes.Builderchat(PreferenceSetChannelTypes.Chat chat)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.Builderchat(JsonField<PreferenceSetChannelTypes.Chat> chat)Sets Builder.chat to an arbitrary JSON value. final PreferenceSetChannelTypes.Builderchat(Boolean bool)Alias for calling chat with Chat.ofBool(bool).final PreferenceSetChannelTypes.Builderchat(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling chat with Chat.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.Builderemail(PreferenceSetChannelTypes.Email email)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.Builderemail(JsonField<PreferenceSetChannelTypes.Email> email)Sets Builder.email to an arbitrary JSON value. final PreferenceSetChannelTypes.Builderemail(Boolean bool)Alias for calling email with Email.ofBool(bool).final PreferenceSetChannelTypes.Builderemail(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling email with Email.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.Builderhttp(PreferenceSetChannelTypes.Http http)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.Builderhttp(JsonField<PreferenceSetChannelTypes.Http> http)Sets Builder.http to an arbitrary JSON value. final PreferenceSetChannelTypes.Builderhttp(Boolean bool)Alias for calling http with Http.ofBool(bool).final PreferenceSetChannelTypes.Builderhttp(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling http with Http.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.BuilderinAppFeed(PreferenceSetChannelTypes.InAppFeed inAppFeed)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.BuilderinAppFeed(JsonField<PreferenceSetChannelTypes.InAppFeed> inAppFeed)Sets Builder.inAppFeed to an arbitrary JSON value. final PreferenceSetChannelTypes.BuilderinAppFeed(Boolean bool)Alias for calling inAppFeed with InAppFeed.ofBool(bool).final PreferenceSetChannelTypes.BuilderinAppFeed(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling inAppFeed with InAppFeed.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.Builderpush(PreferenceSetChannelTypes.Push push)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.Builderpush(JsonField<PreferenceSetChannelTypes.Push> push)Sets Builder.push to an arbitrary JSON value. final PreferenceSetChannelTypes.Builderpush(Boolean bool)Alias for calling push with Push.ofBool(bool).final PreferenceSetChannelTypes.Builderpush(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling push with Push.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.Buildersms(PreferenceSetChannelTypes.Sms sms)Whether the channel type is enabled for the preference set. final PreferenceSetChannelTypes.Buildersms(JsonField<PreferenceSetChannelTypes.Sms> sms)Sets Builder.sms to an arbitrary JSON value. final PreferenceSetChannelTypes.Buildersms(Boolean bool)Alias for calling sms with Sms.ofBool(bool).final PreferenceSetChannelTypes.Buildersms(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)Alias for calling sms with Sms.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).final PreferenceSetChannelTypes.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final PreferenceSetChannelTypes.BuilderputAdditionalProperty(String key, JsonValue value)final PreferenceSetChannelTypes.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final PreferenceSetChannelTypes.BuilderremoveAdditionalProperty(String key)final PreferenceSetChannelTypes.BuilderremoveAllAdditionalProperties(Set<String> keys)final PreferenceSetChannelTypesbuild()Returns an immutable instance of PreferenceSetChannelTypes. -
-
Method Detail
-
chat
final PreferenceSetChannelTypes.Builder chat(PreferenceSetChannelTypes.Chat chat)
Whether the channel type is enabled for the preference set.
-
chat
final PreferenceSetChannelTypes.Builder chat(JsonField<PreferenceSetChannelTypes.Chat> chat)
Sets Builder.chat to an arbitrary JSON value.
You should usually call Builder.chat with a well-typed Chat value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
chat
final PreferenceSetChannelTypes.Builder chat(Boolean bool)
Alias for calling chat with
Chat.ofBool(bool).
-
chat
final PreferenceSetChannelTypes.Builder chat(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling chat with
Chat.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
email
final PreferenceSetChannelTypes.Builder email(PreferenceSetChannelTypes.Email email)
Whether the channel type is enabled for the preference set.
-
email
final PreferenceSetChannelTypes.Builder email(JsonField<PreferenceSetChannelTypes.Email> email)
Sets Builder.email to an arbitrary JSON value.
You should usually call Builder.email with a well-typed Email value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
email
final PreferenceSetChannelTypes.Builder email(Boolean bool)
Alias for calling email with
Email.ofBool(bool).
-
email
final PreferenceSetChannelTypes.Builder email(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling email with
Email.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
http
final PreferenceSetChannelTypes.Builder http(PreferenceSetChannelTypes.Http http)
Whether the channel type is enabled for the preference set.
-
http
final PreferenceSetChannelTypes.Builder http(JsonField<PreferenceSetChannelTypes.Http> http)
Sets Builder.http to an arbitrary JSON value.
You should usually call Builder.http with a well-typed Http value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
http
final PreferenceSetChannelTypes.Builder http(Boolean bool)
Alias for calling http with
Http.ofBool(bool).
-
http
final PreferenceSetChannelTypes.Builder http(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling http with
Http.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
inAppFeed
final PreferenceSetChannelTypes.Builder inAppFeed(PreferenceSetChannelTypes.InAppFeed inAppFeed)
Whether the channel type is enabled for the preference set.
-
inAppFeed
final PreferenceSetChannelTypes.Builder inAppFeed(JsonField<PreferenceSetChannelTypes.InAppFeed> inAppFeed)
Sets Builder.inAppFeed to an arbitrary JSON value.
You should usually call Builder.inAppFeed with a well-typed InAppFeed value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inAppFeed
final PreferenceSetChannelTypes.Builder inAppFeed(Boolean bool)
Alias for calling inAppFeed with
InAppFeed.ofBool(bool).
-
inAppFeed
final PreferenceSetChannelTypes.Builder inAppFeed(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling inAppFeed with
InAppFeed.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
push
final PreferenceSetChannelTypes.Builder push(PreferenceSetChannelTypes.Push push)
Whether the channel type is enabled for the preference set.
-
push
final PreferenceSetChannelTypes.Builder push(JsonField<PreferenceSetChannelTypes.Push> push)
Sets Builder.push to an arbitrary JSON value.
You should usually call Builder.push with a well-typed Push value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
push
final PreferenceSetChannelTypes.Builder push(Boolean bool)
Alias for calling push with
Push.ofBool(bool).
-
push
final PreferenceSetChannelTypes.Builder push(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling push with
Push.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
sms
final PreferenceSetChannelTypes.Builder sms(PreferenceSetChannelTypes.Sms sms)
Whether the channel type is enabled for the preference set.
-
sms
final PreferenceSetChannelTypes.Builder sms(JsonField<PreferenceSetChannelTypes.Sms> sms)
Sets Builder.sms to an arbitrary JSON value.
You should usually call Builder.sms with a well-typed Sms value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sms
final PreferenceSetChannelTypes.Builder sms(Boolean bool)
Alias for calling sms with
Sms.ofBool(bool).
-
sms
final PreferenceSetChannelTypes.Builder sms(PreferenceSetChannelTypeSetting preferenceSetChannelTypeSetting)
Alias for calling sms with
Sms.ofPreferenceSetChannelTypeSetting(preferenceSetChannelTypeSetting).
-
additionalProperties
final PreferenceSetChannelTypes.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PreferenceSetChannelTypes.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PreferenceSetChannelTypes.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PreferenceSetChannelTypes.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PreferenceSetChannelTypes.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PreferenceSetChannelTypes build()
Returns an immutable instance of PreferenceSetChannelTypes.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-