Class NotificationTemplateCreateRequest.Builder
-
- All Implemented Interfaces:
public final class NotificationTemplateCreateRequest.BuilderA builder for NotificationTemplateCreateRequest.
-
-
Method Summary
-
-
Method Detail
-
notification
final NotificationTemplateCreateRequest.Builder notification(NotificationTemplatePayload notification)
Core template fields used in POST and PUT request bodies (nested under a
notificationkey) and returned at the top level in responses.
-
notification
final NotificationTemplateCreateRequest.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 NotificationTemplateCreateRequest.Builder state(NotificationTemplateCreateRequest.State state)
Template state after creation. Case-insensitive input, normalized to uppercase in the response. Defaults to "DRAFT".
-
state
final NotificationTemplateCreateRequest.Builder state(JsonField<NotificationTemplateCreateRequest.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 NotificationTemplateCreateRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationTemplateCreateRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationTemplateCreateRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationTemplateCreateRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationTemplateCreateRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationTemplateCreateRequest build()
Returns an immutable instance of NotificationTemplateCreateRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.notification()
-
-
-
-