Class ElementalChannelNode.Builder
-
- All Implemented Interfaces:
public final class ElementalChannelNode.BuilderA builder for ElementalChannelNode.
-
-
Method Summary
-
-
Method Detail
-
channels
final ElementalChannelNode.Builder channels(List<String> channels)
-
channels
final ElementalChannelNode.Builder channels(Optional<List<String>> channels)
Alias for calling Builder.channels with
channels.orElse(null).
-
channels
final ElementalChannelNode.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 ElementalChannelNode.Builder addChannel(String channel)
-
if_
final ElementalChannelNode.Builder if_(String if_)
-
if_
final ElementalChannelNode.Builder if_(Optional<String> if_)
Alias for calling Builder.if_ with
if_.orElse(null).
-
if_
final ElementalChannelNode.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 ElementalChannelNode.Builder loop(String loop)
-
loop
final ElementalChannelNode.Builder loop(Optional<String> loop)
Alias for calling Builder.loop with
loop.orElse(null).
-
loop
final ElementalChannelNode.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 ElementalChannelNode.Builder ref(String ref)
-
ref
final ElementalChannelNode.Builder ref(Optional<String> ref)
Alias for calling Builder.ref with
ref.orElse(null).
-
ref
final ElementalChannelNode.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.
-
channel
final ElementalChannelNode.Builder channel(String channel)
The channel the contents of this element should be applied to. Can be
email,push,direct_message,smsor a provider such as slack
-
channel
final ElementalChannelNode.Builder channel(JsonField<String> channel)
Sets Builder.channel to an arbitrary JSON value.
You should usually call Builder.channel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
raw
final ElementalChannelNode.Builder raw(ElementalChannelNode.Raw raw)
Raw data to apply to the channel. If
elementshas not been specified,rawis required.
-
raw
final ElementalChannelNode.Builder raw(Optional<ElementalChannelNode.Raw> raw)
Alias for calling Builder.raw with
raw.orElse(null).
-
raw
final ElementalChannelNode.Builder raw(JsonField<ElementalChannelNode.Raw> raw)
Sets Builder.raw to an arbitrary JSON value.
You should usually call Builder.raw with a well-typed Raw value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ElementalChannelNode.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ElementalChannelNode.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ElementalChannelNode.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ElementalChannelNode.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ElementalChannelNode.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ElementalChannelNode build()
Returns an immutable instance of ElementalChannelNode.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.channel()
-
-
-
-