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