Builder

public final class Builder

A builder for ErrorEvent.

Functions

Link copied to clipboard
public final ErrorEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final ErrorEvent build()

Returns an immutable instance of ErrorEvent.

Link copied to clipboard
public final ErrorEvent.Builder error(JsonField<ErrorEvent.Error> error)

Sets Builder.error to an arbitrary JSON value.

Error message from an interaction.

Link copied to clipboard
public final ErrorEvent.Builder eventId(JsonField<String> eventId)

Sets Builder.eventId to an arbitrary JSON value.

public final ErrorEvent.Builder eventId(String eventId)

The event_id token to be used to resume the interaction stream, from this event.

Link copied to clipboard
public final ErrorEvent.Builder eventType(JsonValue eventType)

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final ErrorEvent.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final ErrorEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard