Class FailedAttachmentEvent
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.FailedAttachmentEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ChatOutputStream,ToCopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
- Direct Known Subclasses:
DefaultFailedAttachmentEvent
@Generated("software.amazon.awssdk:codegen") public class FailedAttachmentEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>, ChatOutputStream
A failed file upload during web experience chat.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFailedAttachmentEvent.Builderprotected static classFailedAttachmentEvent.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatOutputStream
ChatOutputStream.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatOutputStream
UNKNOWN
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFailedAttachmentEvent(FailedAttachmentEvent.BuilderImpl builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ChatResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofFailedAttachmentEvent.AttachmentOutputattachment()Returns the value of the Attachment property for this object.static FailedAttachmentEvent.Builderbuilder()StringconversationId()The identifier of the conversation associated with the failed file upload.FailedAttachmentEventcopy(Consumer<? super FailedAttachmentEvent.Builder> modifier)booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FailedAttachmentEvent.Builder>serializableBuilderClass()StringsystemMessageId()The identifier of the AI-generated message associated with the file upload.FailedAttachmentEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserMessageId()The identifier of the end user chat message associated with the file upload.-
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.ChatOutputStream
sdkEventType
-
-
-
-
Constructor Detail
-
FailedAttachmentEvent
protected FailedAttachmentEvent(FailedAttachmentEvent.BuilderImpl builder)
-
-
Method Detail
-
conversationId
public final String conversationId()
The identifier of the conversation associated with the failed file upload.
- Returns:
- The identifier of the conversation associated with the failed file upload.
-
userMessageId
public final String userMessageId()
The identifier of the end user chat message associated with the file upload.
- Returns:
- The identifier of the end user chat message associated with the file upload.
-
systemMessageId
public final String systemMessageId()
The identifier of the AI-generated message associated with the file upload.
- Returns:
- The identifier of the AI-generated message associated with the file upload.
-
attachment
public final AttachmentOutput attachment()
Returns the value of the Attachment property for this object.- Returns:
- The value of the Attachment property for this object.
-
toBuilder
public FailedAttachmentEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
-
builder
public static FailedAttachmentEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends FailedAttachmentEvent.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 FailedAttachmentEvent copy(Consumer<? super FailedAttachmentEvent.Builder> modifier)
- Specified by:
copyin interfaceToCopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
-
accept
public void accept(ChatResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofFailedAttachmentEvent.- Specified by:
acceptin interfaceChatOutputStream- Parameters:
visitor- Visitor to invoke.
-
-