Class NotificationContentPutRequest.Content.Builder
-
- All Implemented Interfaces:
public final class NotificationContentPutRequest.Content.BuilderA builder for Content.
-
-
Method Summary
-
-
Method Detail
-
elements
final NotificationContentPutRequest.Content.Builder elements(List<ElementalNode> elements)
-
elements
final NotificationContentPutRequest.Content.Builder elements(JsonField<List<ElementalNode>> elements)
Sets Builder.elements to an arbitrary JSON value.
You should usually call Builder.elements with a well-typed
List<ElementalNode>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalNode element)
Adds a single ElementalNode to elements.
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalTextNodeWithType textNodeWithType)
Alias for calling addElement with
ElementalNode.ofTextNodeWithType(textNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalMetaNodeWithType metaNodeWithType)
Alias for calling addElement with
ElementalNode.ofMetaNodeWithType(metaNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalChannelNodeWithType channelNodeWithType)
Alias for calling addElement with
ElementalNode.ofChannelNodeWithType(channelNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalImageNodeWithType imageNodeWithType)
Alias for calling addElement with
ElementalNode.ofImageNodeWithType(imageNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalActionNodeWithType actionNodeWithType)
Alias for calling addElement with
ElementalNode.ofActionNodeWithType(actionNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalDividerNodeWithType dividerNodeWithType)
Alias for calling addElement with
ElementalNode.ofDividerNodeWithType(dividerNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalQuoteNodeWithType quoteNodeWithType)
Alias for calling addElement with
ElementalNode.ofQuoteNodeWithType(quoteNodeWithType).
-
addElement
final NotificationContentPutRequest.Content.Builder addElement(ElementalHtmlNodeWithType htmlNodeWithType)
Alias for calling addElement with
ElementalNode.ofHtmlNodeWithType(htmlNodeWithType).
-
version
final NotificationContentPutRequest.Content.Builder version(String version)
Content version identifier (e.g.,
2022-01-01). Optional; server defaults when omitted.
-
version
final NotificationContentPutRequest.Content.Builder version(JsonField<String> version)
Sets Builder.version to an arbitrary JSON value.
You should usually call Builder.version 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 NotificationContentPutRequest.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationContentPutRequest.Content.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationContentPutRequest.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationContentPutRequest.Content.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationContentPutRequest.Content.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationContentPutRequest.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.elements()
-
-
-
-