@Generated(value="software.amazon.awssdk:codegen") public class DisconnectionEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DisconnectionEvent.Builder,DisconnectionEvent>, StartConversationRequestEventStream
A notification from the client that it is disconnecting from Amazon Lex V2. Sending a DisconnectionEvent
event is optional, but can help identify a conversation in logs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DisconnectionEvent.Builder |
protected static class |
DisconnectionEvent.BuilderImpl |
StartConversationRequestEventStream.EventType| Modifier | Constructor and Description |
|---|---|
protected |
DisconnectionEvent(DisconnectionEvent.BuilderImpl builder) |
| Modifier and Type | Method and Description |
|---|---|
static DisconnectionEvent.Builder |
builder() |
Long |
clientTimestampMillis()
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
|
DisconnectionEvent |
copy(Consumer<? super DisconnectionEvent.Builder> modifier) |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventId()
A unique identifier that your application assigns to the event.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DisconnectionEvent.Builder> |
serializableBuilderClass() |
DisconnectionEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaudioInputEventBuilder, configurationEventBuilder, disconnectionEventBuilder, dTMFInputEventBuilder, playbackCompletionEventBuilder, sdkEventType, textInputEventBuilderprotected DisconnectionEvent(DisconnectionEvent.BuilderImpl builder)
public final String eventId()
A unique identifier that your application assigns to the event. You can use this to identify events in logs.
public final Long clientTimestampMillis()
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
public DisconnectionEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DisconnectionEvent.Builder,DisconnectionEvent>public static DisconnectionEvent.Builder builder()
public static Class<? extends DisconnectionEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final DisconnectionEvent copy(Consumer<? super DisconnectionEvent.Builder> modifier)
copy in interface ToCopyableBuilder<DisconnectionEvent.Builder,DisconnectionEvent>Copyright © 2022. All rights reserved.