Class FailedAttachmentEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.FailedAttachmentEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,FailedAttachmentEvent.Builder,Buildable,CopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>,SdkBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
- Enclosing class:
- FailedAttachmentEvent
protected static class FailedAttachmentEvent.BuilderImpl extends Object implements FailedAttachmentEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(FailedAttachmentEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailedAttachmentEvent.Builderattachment(AttachmentOutput attachment)Sets the value of the Attachment property for this object.FailedAttachmentEventbuild()FailedAttachmentEvent.BuilderconversationId(String conversationId)The identifier of the conversation associated with the failed file upload.AttachmentOutput.BuildergetAttachment()StringgetConversationId()StringgetSystemMessageId()StringgetUserMessageId()List<SdkField<?>>sdkFields()voidsetAttachment(software.amazon.awssdk.services.qbusiness.model.AttachmentOutput.BuilderImpl attachment)voidsetConversationId(String conversationId)voidsetSystemMessageId(String systemMessageId)voidsetUserMessageId(String userMessageId)FailedAttachmentEvent.BuildersystemMessageId(String systemMessageId)The identifier of the AI-generated message associated with the file upload.FailedAttachmentEvent.BuilderuserMessageId(String userMessageId)The identifier of the end user chat message associated with the file upload.-
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.services.qbusiness.model.FailedAttachmentEvent.Builder
attachment
-
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(FailedAttachmentEvent model)
-
-
Method Detail
-
getConversationId
public final String getConversationId()
-
setConversationId
public final void setConversationId(String conversationId)
-
conversationId
public final FailedAttachmentEvent.Builder conversationId(String conversationId)
Description copied from interface:FailedAttachmentEvent.BuilderThe identifier of the conversation associated with the failed file upload.
- Specified by:
conversationIdin interfaceFailedAttachmentEvent.Builder- Parameters:
conversationId- The identifier of the conversation associated with the failed file upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUserMessageId
public final String getUserMessageId()
-
setUserMessageId
public final void setUserMessageId(String userMessageId)
-
userMessageId
public final FailedAttachmentEvent.Builder userMessageId(String userMessageId)
Description copied from interface:FailedAttachmentEvent.BuilderThe identifier of the end user chat message associated with the file upload.
- Specified by:
userMessageIdin interfaceFailedAttachmentEvent.Builder- Parameters:
userMessageId- The identifier of the end user chat message associated with the file upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSystemMessageId
public final String getSystemMessageId()
-
setSystemMessageId
public final void setSystemMessageId(String systemMessageId)
-
systemMessageId
public final FailedAttachmentEvent.Builder systemMessageId(String systemMessageId)
Description copied from interface:FailedAttachmentEvent.BuilderThe identifier of the AI-generated message associated with the file upload.
- Specified by:
systemMessageIdin interfaceFailedAttachmentEvent.Builder- Parameters:
systemMessageId- The identifier of the AI-generated message associated with the file upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttachment
public final AttachmentOutput.Builder getAttachment()
-
setAttachment
public final void setAttachment(software.amazon.awssdk.services.qbusiness.model.AttachmentOutput.BuilderImpl attachment)
-
attachment
public final FailedAttachmentEvent.Builder attachment(AttachmentOutput attachment)
Description copied from interface:FailedAttachmentEvent.BuilderSets the value of the Attachment property for this object.- Specified by:
attachmentin interfaceFailedAttachmentEvent.Builder- Parameters:
attachment- The new value for the Attachment property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public FailedAttachmentEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
-
-