Class TextInputEvent
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.TextInputEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ChatInputStream,ToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>
- Direct Known Subclasses:
DefaultTextEvent
@Generated("software.amazon.awssdk:codegen") public class TextInputEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>, ChatInputStream
An input event for a end user message in an Amazon Q Business web experience.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTextInputEvent.Builderprotected static classTextInputEvent.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatInputStream
ChatInputStream.EventType
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTextInputEvent(TextInputEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextInputEvent.Builderbuilder()TextInputEventcopy(Consumer<? super TextInputEvent.Builder> modifier)booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends TextInputEvent.Builder>serializableBuilderClass()TextInputEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserMessage()A user message in a text message input event.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatInputStream
sdkEventType
-
-
-
-
Constructor Detail
-
TextInputEvent
protected TextInputEvent(TextInputEvent.BuilderImpl builder)
-
-
Method Detail
-
userMessage
public final String userMessage()
A user message in a text message input event.
- Returns:
- A user message in a text message input event.
-
toBuilder
public TextInputEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>
-
builder
public static TextInputEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends TextInputEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
copy
public final TextInputEvent copy(Consumer<? super TextInputEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<TextInputEvent.Builder,TextInputEvent>
-
-