Interface ChatMessage.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChatMessage.Builder,,ChatMessage> SdkBuilder<ChatMessage.Builder,,ChatMessage> SdkPojo
- Enclosing class:
ChatMessage
@Mutable
@NotThreadSafe
public static interface ChatMessage.Builder
extends SdkPojo, CopyableBuilder<ChatMessage.Builder,ChatMessage>
-
Method Summary
Modifier and TypeMethodDescriptionThe principal that authored the message.author(ChatAuthor author) The principal that authored the message.The message text content.The timestamp when the message was created.sequenceNumber(Long sequenceNumber) The position of this message in the session's sequence.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
author
The principal that authored the message.
- Parameters:
author- The principal that authored the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
author
The principal that authored the message.
- Parameters:
author- The principal that authored the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
content
The message text content.
- Parameters:
content- The message text content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the message was created.
- Parameters:
createdAt- The timestamp when the message was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
The position of this message in the session's sequence.
- Parameters:
sequenceNumber- The position of this message in the session's sequence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-