Interface ChannelMessageSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelMessageSummary.Builder,,ChannelMessageSummary> SdkBuilder<ChannelMessageSummary.Builder,,ChannelMessageSummary> SdkPojo
- Enclosing class:
ChannelMessageSummary
public static interface ChannelMessageSummary.Builder
extends SdkPojo, CopyableBuilder<ChannelMessageSummary.Builder,ChannelMessageSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe content of the message.createdTimestamp(Instant createdTimestamp) The time at which the message summary was created.lastEditedTimestamp(Instant lastEditedTimestamp) The time at which a message was last edited.lastUpdatedTimestamp(Instant lastUpdatedTimestamp) The time at which a message was last updated.The ID of the message.The metadata of the message.Indicates whether a message was redacted.default ChannelMessageSummary.Buildersender(Consumer<Identity.Builder> sender) The message sender.The message sender.The type of message.type(ChannelMessageType type) The type of message.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, sdkFields
-
Method Details
-
messageId
The ID of the message.
- Parameters:
messageId- The ID of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the message.
- Parameters:
content- The content of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata of the message.
- Parameters:
metadata- The metadata of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of message.
- Parameters:
type- The type of message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of message.
- Parameters:
type- The type of message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The time at which the message summary was created.
- Parameters:
createdTimestamp- The time at which the message summary was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTimestamp
The time at which a message was last updated.
- Parameters:
lastUpdatedTimestamp- The time at which a message was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastEditedTimestamp
The time at which a message was last edited.
- Parameters:
lastEditedTimestamp- The time at which a message was last edited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sender
The message sender.
- Parameters:
sender- The message sender.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sender
The message sender.
This is a convenience method that creates an instance of theIdentity.Builderavoiding the need to create one manually viaIdentity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosender(Identity).- Parameters:
sender- a consumer that will call methods onIdentity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redacted
Indicates whether a message was redacted.
- Parameters:
redacted- Indicates whether a message was redacted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-