Class NotificationGetContent.Channel.Builder
-
- All Implemented Interfaces:
public final class NotificationGetContent.Channel.BuilderA builder for Channel.
-
-
Method Summary
-
-
Method Detail
-
id
final NotificationGetContent.Channel.Builder id(String id)
-
id
final NotificationGetContent.Channel.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.
-
checksum
final NotificationGetContent.Channel.Builder checksum(String checksum)
-
checksum
final NotificationGetContent.Channel.Builder checksum(Optional<String> checksum)
Alias for calling Builder.checksum with
checksum.orElse(null).
-
checksum
final NotificationGetContent.Channel.Builder checksum(JsonField<String> checksum)
Sets Builder.checksum to an arbitrary JSON value.
You should usually call Builder.checksum with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final NotificationGetContent.Channel.Builder content(NotificationGetContent.Channel.Content content)
-
content
final NotificationGetContent.Channel.Builder content(Optional<NotificationGetContent.Channel.Content> content)
Alias for calling Builder.content with
content.orElse(null).
-
content
final NotificationGetContent.Channel.Builder content(JsonField<NotificationGetContent.Channel.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
locales
final NotificationGetContent.Channel.Builder locales(NotificationGetContent.Channel.Locales locales)
-
locales
final NotificationGetContent.Channel.Builder locales(Optional<NotificationGetContent.Channel.Locales> locales)
Alias for calling Builder.locales with
locales.orElse(null).
-
locales
final NotificationGetContent.Channel.Builder locales(JsonField<NotificationGetContent.Channel.Locales> locales)
Sets Builder.locales to an arbitrary JSON value.
You should usually call Builder.locales with a well-typed Locales value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final NotificationGetContent.Channel.Builder type(String type)
-
type
final NotificationGetContent.Channel.Builder type(Optional<String> type)
Alias for calling Builder.type with
type.orElse(null).
-
type
final NotificationGetContent.Channel.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type 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 NotificationGetContent.Channel.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationGetContent.Channel.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationGetContent.Channel.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationGetContent.Channel.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationGetContent.Channel.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationGetContent.Channel build()
Returns an immutable instance of Channel.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id()
-
-
-
-