Class NotificationElementPutRequest.Builder
-
- All Implemented Interfaces:
public final class NotificationElementPutRequest.BuilderA builder for NotificationElementPutRequest.
-
-
Method Summary
-
-
Method Detail
-
type
final NotificationElementPutRequest.Builder type(String type)
Element type (text, meta, action, image, etc.).
-
type
final NotificationElementPutRequest.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
channels
final NotificationElementPutRequest.Builder channels(List<String> channels)
-
channels
final NotificationElementPutRequest.Builder channels(JsonField<List<String>> channels)
Sets Builder.channels to an arbitrary JSON value.
You should usually call Builder.channels with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addChannel
final NotificationElementPutRequest.Builder addChannel(String channel)
-
data
final NotificationElementPutRequest.Builder data(NotificationElementPutRequest.Data data)
-
data
final NotificationElementPutRequest.Builder data(JsonField<NotificationElementPutRequest.Data> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed Data value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
if_
final NotificationElementPutRequest.Builder if_(String if_)
-
if_
final NotificationElementPutRequest.Builder if_(JsonField<String> if_)
Sets Builder.if_ to an arbitrary JSON value.
You should usually call Builder.if_ with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
loop
final NotificationElementPutRequest.Builder loop(String loop)
-
loop
final NotificationElementPutRequest.Builder loop(JsonField<String> loop)
Sets Builder.loop to an arbitrary JSON value.
You should usually call Builder.loop with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
ref
final NotificationElementPutRequest.Builder ref(String ref)
-
ref
final NotificationElementPutRequest.Builder ref(JsonField<String> ref)
Sets Builder.ref to an arbitrary JSON value.
You should usually call Builder.ref with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final NotificationElementPutRequest.Builder state(NotificationTemplateState state)
Template state. Defaults to
DRAFT.
-
state
final NotificationElementPutRequest.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 NotificationElementPutRequest.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final NotificationElementPutRequest.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final NotificationElementPutRequest.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final NotificationElementPutRequest.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final NotificationElementPutRequest.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final NotificationElementPutRequest build()
Returns an immutable instance of NotificationElementPutRequest.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.type()
-
-
-
-