Interface FailedAttachmentEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FailedAttachmentEvent.Builder,
,FailedAttachmentEvent> SdkBuilder<FailedAttachmentEvent.Builder,
,FailedAttachmentEvent> SdkPojo
- All Known Subinterfaces:
DefaultFailedAttachmentEvent.Builder
- Enclosing class:
FailedAttachmentEvent
public static interface FailedAttachmentEvent.Builder
extends SdkPojo, CopyableBuilder<FailedAttachmentEvent.Builder,FailedAttachmentEvent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FailedAttachmentEvent.Builder
attachment
(Consumer<AttachmentOutput.Builder> attachment) Sets the value of the Attachment property for this object.attachment
(AttachmentOutput attachment) Sets the value of the Attachment property for this object.conversationId
(String conversationId) The identifier of the conversation associated with the failed file upload.systemMessageId
(String systemMessageId) The identifier of the AI-generated message associated with the file upload.userMessageId
(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 Details
-
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
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
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
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
Sets the value of the Attachment property for this object. This is a convenience method that creates an instance of theAttachmentOutput.Builder
avoiding the need to create one manually viaAttachmentOutput.builder()
.When the
Consumer
completes,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:
-