Class NotificationContentPutRequest.Builder
-
- All Implemented Interfaces:
public final class NotificationContentPutRequest.BuilderA builder for NotificationContentPutRequest.
-
-
Method Summary
-
-
Method Detail
-
content
final NotificationContentPutRequest.Builder content(NotificationContentPutRequest.Content content)
Elemental content payload. The server defaults
versionwhen omitted.
-
content
final NotificationContentPutRequest.Builder content(JsonField<NotificationContentPutRequest.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.
-
state
final NotificationContentPutRequest.Builder state(NotificationTemplateState state)
Template state. Defaults to
DRAFT.
-
state
final NotificationContentPutRequest.Builder state(JsonField<NotificationTemplateState> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed NotificationTemplateState value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final NotificationContentPutRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationContentPutRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationContentPutRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationContentPutRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationContentPutRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationContentPutRequest build()
Returns an immutable instance of NotificationContentPutRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content()
-
-
-
-