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