Class SendMessageParams.Message.Metadata.Builder
-
- All Implemented Interfaces:
public final class SendMessageParams.Message.Metadata.BuilderA builder for Metadata.
-
-
Method Summary
-
-
Method Detail
-
event
final SendMessageParams.Message.Metadata.Builder event(String event)
-
event
final SendMessageParams.Message.Metadata.Builder event(Optional<String> event)
Alias for calling Builder.event with
event.orElse(null).
-
event
final SendMessageParams.Message.Metadata.Builder event(JsonField<String> event)
Sets Builder.event to an arbitrary JSON value.
You should usually call Builder.event with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tags
final SendMessageParams.Message.Metadata.Builder tags(List<String> tags)
-
tags
final SendMessageParams.Message.Metadata.Builder tags(Optional<List<String>> tags)
Alias for calling Builder.tags with
tags.orElse(null).
-
tags
final SendMessageParams.Message.Metadata.Builder tags(JsonField<List<String>> tags)
Sets Builder.tags to an arbitrary JSON value.
You should usually call Builder.tags with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTag
final SendMessageParams.Message.Metadata.Builder addTag(String tag)
-
traceId
final SendMessageParams.Message.Metadata.Builder traceId(String traceId)
-
traceId
final SendMessageParams.Message.Metadata.Builder traceId(Optional<String> traceId)
Alias for calling Builder.traceId with
traceId.orElse(null).
-
traceId
final SendMessageParams.Message.Metadata.Builder traceId(JsonField<String> traceId)
Sets Builder.traceId to an arbitrary JSON value.
You should usually call Builder.traceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
utm
final SendMessageParams.Message.Metadata.Builder utm(Utm utm)
-
utm
final SendMessageParams.Message.Metadata.Builder utm(Optional<Utm> utm)
Alias for calling Builder.utm with
utm.orElse(null).
-
utm
final SendMessageParams.Message.Metadata.Builder utm(JsonField<Utm> utm)
Sets Builder.utm to an arbitrary JSON value.
You should usually call Builder.utm with a well-typed Utm value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SendMessageParams.Message.Metadata.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SendMessageParams.Message.Metadata.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SendMessageParams.Message.Metadata.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SendMessageParams.Message.Metadata.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SendMessageParams.Message.Metadata.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SendMessageParams.Message.Metadata build()
Returns an immutable instance of Metadata.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-