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