Class WatchSendEventsParams.Event.Builder
-
- All Implemented Interfaces:
public final class WatchSendEventsParams.Event.Builder
A builder for Event.
-
-
Method Summary
-
-
Method Detail
-
confidence
final WatchSendEventsParams.Event.Builder confidence(WatchSendEventsParams.Event.Confidence confidence)
A confidence level you want to assign to the event.
-
confidence
final WatchSendEventsParams.Event.Builder confidence(JsonField<WatchSendEventsParams.Event.Confidence> confidence)
Sets Builder.confidence to an arbitrary JSON value.
You should usually call Builder.confidence with a well-typed Confidence value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
label
final WatchSendEventsParams.Event.Builder label(String label)
A label to describe what the event refers to.
-
label
final WatchSendEventsParams.Event.Builder label(JsonField<String> label)
Sets Builder.label to an arbitrary JSON value.
You should usually call Builder.label with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
target
final WatchSendEventsParams.Event.Builder target(WatchSendEventsParams.Event.Target target)
The event target. Only supports phone numbers for now.
-
target
final WatchSendEventsParams.Event.Builder target(JsonField<WatchSendEventsParams.Event.Target> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed Target value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WatchSendEventsParams.Event.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WatchSendEventsParams.Event.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WatchSendEventsParams.Event.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WatchSendEventsParams.Event.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WatchSendEventsParams.Event.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WatchSendEventsParams.Event build()
Returns an immutable instance of Event.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.confidence() .label() .target()
-
-
-
-