Class TextInputEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.lexruntimev2.model.TextInputEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,TextInputEvent.Builder,Buildable,CopyableBuilder<TextInputEvent.Builder,TextInputEvent>,SdkBuilder<TextInputEvent.Builder,TextInputEvent>
- Enclosing class:
- TextInputEvent
protected static class TextInputEvent.BuilderImpl extends Object implements TextInputEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(TextInputEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextInputEventbuild()TextInputEvent.BuilderclientTimestampMillis(Long clientTimestampMillis)A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.TextInputEvent.BuildereventId(String eventId)A unique identifier that your application assigns to the event.LonggetClientTimestampMillis()StringgetEventId()StringgetText()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetClientTimestampMillis(Long clientTimestampMillis)voidsetEventId(String eventId)voidsetText(String text)TextInputEvent.Buildertext(String text)The text from the user.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(TextInputEvent model)
-
-
Method Detail
-
getText
public final String getText()
-
setText
public final void setText(String text)
-
text
public final TextInputEvent.Builder text(String text)
Description copied from interface:TextInputEvent.BuilderThe text from the user. Amazon Lex V2 processes this as a complete statement.
- Specified by:
textin interfaceTextInputEvent.Builder- Parameters:
text- The text from the user. Amazon Lex V2 processes this as a complete statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getEventId
public final String getEventId()
-
setEventId
public final void setEventId(String eventId)
-
eventId
public final TextInputEvent.Builder eventId(String eventId)
Description copied from interface:TextInputEvent.BuilderA unique identifier that your application assigns to the event. You can use this to identify events in logs.
- Specified by:
eventIdin interfaceTextInputEvent.Builder- Parameters:
eventId- A unique identifier that your application assigns to the event. You can use this to identify events in logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getClientTimestampMillis
public final Long getClientTimestampMillis()
-
setClientTimestampMillis
public final void setClientTimestampMillis(Long clientTimestampMillis)
-
clientTimestampMillis
public final TextInputEvent.Builder clientTimestampMillis(Long clientTimestampMillis)
Description copied from interface:TextInputEvent.BuilderA timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
- Specified by:
clientTimestampMillisin interfaceTextInputEvent.Builder- Parameters:
clientTimestampMillis- A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public TextInputEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<TextInputEvent.Builder,TextInputEvent>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-