Interface FailedAttachmentEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>,SdkBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>,SdkPojo
- All Known Subinterfaces:
DefaultFailedAttachmentEvent.Builder
- All Known Implementing Classes:
FailedAttachmentEvent.BuilderImpl
- Enclosing class:
- FailedAttachmentEvent
public static interface FailedAttachmentEvent.Builder extends SdkPojo, CopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FailedAttachmentEvent.Builderattachment(Consumer<AttachmentOutput.Builder> attachment)Sets the value of the Attachment property for this object.FailedAttachmentEvent.Builderattachment(AttachmentOutput attachment)Sets the value of the Attachment property for this object.FailedAttachmentEvent.BuilderconversationId(String conversationId)The identifier of the conversation associated with the failed file upload.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 interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
conversationId
FailedAttachmentEvent.Builder conversationId(String conversationId)
The identifier of the conversation associated with the failed file upload.
- 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.
-
userMessageId
FailedAttachmentEvent.Builder userMessageId(String userMessageId)
The identifier of the end user chat message associated with the file upload.
- 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.
-
systemMessageId
FailedAttachmentEvent.Builder systemMessageId(String systemMessageId)
The identifier of the AI-generated message associated with the file upload.
- 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.
-
attachment
FailedAttachmentEvent.Builder attachment(AttachmentOutput attachment)
Sets the value of the Attachment property for this object.- 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.
-
attachment
default FailedAttachmentEvent.Builder attachment(Consumer<AttachmentOutput.Builder> attachment)
Sets the value of the Attachment property for this object. This is a convenience method that creates an instance of theAttachmentOutput.Builderavoiding the need to create one manually viaAttachmentOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(AttachmentOutput).- Parameters:
attachment- a consumer that will call methods onAttachmentOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(AttachmentOutput)
-
-