Class NotificationTemplateUpdateRequest.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplateUpdateRequest.BuilderA builder for NotificationTemplateUpdateRequest.
-
-
Method Summary
-
-
Method Detail
-
notification
final NotificationTemplateUpdateRequest.Builder notification(NotificationTemplatePayload notification)
Full document shape used in POST and PUT request bodies, and returned inside the GET response envelope.
-
notification
final NotificationTemplateUpdateRequest.Builder notification(JsonField<NotificationTemplatePayload> notification)
Sets Builder.notification to an arbitrary JSON value.
You should usually call Builder.notification with a well-typed NotificationTemplatePayload value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final NotificationTemplateUpdateRequest.Builder state(NotificationTemplateUpdateRequest.State state)
Template state after update. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".
-
state
final NotificationTemplateUpdateRequest.Builder state(JsonField<NotificationTemplateUpdateRequest.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final NotificationTemplateUpdateRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplateUpdateRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplateUpdateRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplateUpdateRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplateUpdateRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplateUpdateRequest build()
Returns an immutable instance of NotificationTemplateUpdateRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.notification()
-
-
-
-