public static interface ChannelMessage.Builder extends SdkPojo, CopyableBuilder<ChannelMessage.Builder,ChannelMessage>
| Modifier and Type | Method and Description |
|---|---|
ChannelMessage.Builder |
channelArn(String channelArn)
The ARN of the channel.
|
ChannelMessage.Builder |
content(String content)
The message content.
|
ChannelMessage.Builder |
contentType(String contentType)
The content type of the channel message.
|
ChannelMessage.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which the message was created.
|
ChannelMessage.Builder |
lastEditedTimestamp(Instant lastEditedTimestamp)
The time at which a message was edited.
|
ChannelMessage.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which a message was updated.
|
ChannelMessage.Builder |
messageAttributes(Map<String,MessageAttributeValue> messageAttributes)
The attributes for the message, used for message filtering along with a
FilterRule defined in
the PushNotificationPreferences. |
ChannelMessage.Builder |
messageId(String messageId)
The ID of a message.
|
ChannelMessage.Builder |
metadata(String metadata)
The message metadata.
|
ChannelMessage.Builder |
persistence(ChannelMessagePersistenceType persistence)
The persistence setting for a channel message.
|
ChannelMessage.Builder |
persistence(String persistence)
The persistence setting for a channel message.
|
ChannelMessage.Builder |
redacted(Boolean redacted)
Hides the content of a message.
|
default ChannelMessage.Builder |
sender(Consumer<Identity.Builder> sender)
The message sender.
|
ChannelMessage.Builder |
sender(Identity sender)
The message sender.
|
ChannelMessage.Builder |
status(ChannelMessageStatusStructure status)
The status of the channel message.
|
default ChannelMessage.Builder |
status(Consumer<ChannelMessageStatusStructure.Builder> status)
The status of the channel message.
|
ChannelMessage.Builder |
subChannelId(String subChannelId)
The ID of the SubChannel.
|
ChannelMessage.Builder |
type(ChannelMessageType type)
The message type.
|
ChannelMessage.Builder |
type(String type)
The message type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannelMessage.Builder channelArn(String channelArn)
The ARN of the channel.
channelArn - The ARN of the channel.ChannelMessage.Builder messageId(String messageId)
The ID of a message.
messageId - The ID of a message.ChannelMessage.Builder content(String content)
The message content.
content - The message content.ChannelMessage.Builder metadata(String metadata)
The message metadata.
metadata - The message metadata.ChannelMessage.Builder type(String type)
The message type.
type - The message type.ChannelMessageType,
ChannelMessageTypeChannelMessage.Builder type(ChannelMessageType type)
The message type.
type - The message type.ChannelMessageType,
ChannelMessageTypeChannelMessage.Builder createdTimestamp(Instant createdTimestamp)
The time at which the message was created.
createdTimestamp - The time at which the message was created.ChannelMessage.Builder lastEditedTimestamp(Instant lastEditedTimestamp)
The time at which a message was edited.
lastEditedTimestamp - The time at which a message was edited.ChannelMessage.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which a message was updated.
lastUpdatedTimestamp - The time at which a message was updated.ChannelMessage.Builder sender(Identity sender)
The message sender.
sender - The message sender.default ChannelMessage.Builder sender(Consumer<Identity.Builder> sender)
The message sender.
This is a convenience method that creates an instance of theIdentity.Builder avoiding the need to
create one manually via Identity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to sender(Identity).
sender - a consumer that will call methods on Identity.Buildersender(Identity)ChannelMessage.Builder redacted(Boolean redacted)
Hides the content of a message.
redacted - Hides the content of a message.ChannelMessage.Builder persistence(String persistence)
The persistence setting for a channel message.
persistence - The persistence setting for a channel message.ChannelMessagePersistenceType,
ChannelMessagePersistenceTypeChannelMessage.Builder persistence(ChannelMessagePersistenceType persistence)
The persistence setting for a channel message.
persistence - The persistence setting for a channel message.ChannelMessagePersistenceType,
ChannelMessagePersistenceTypeChannelMessage.Builder status(ChannelMessageStatusStructure status)
The status of the channel message.
status - The status of the channel message.default ChannelMessage.Builder status(Consumer<ChannelMessageStatusStructure.Builder> status)
The status of the channel message.
This is a convenience method that creates an instance of theChannelMessageStatusStructure.Builder
avoiding the need to create one manually via ChannelMessageStatusStructure.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to status(ChannelMessageStatusStructure).
status - a consumer that will call methods on ChannelMessageStatusStructure.Builderstatus(ChannelMessageStatusStructure)ChannelMessage.Builder messageAttributes(Map<String,MessageAttributeValue> messageAttributes)
The attributes for the message, used for message filtering along with a FilterRule defined in
the PushNotificationPreferences.
messageAttributes - The attributes for the message, used for message filtering along with a FilterRule
defined in the PushNotificationPreferences.ChannelMessage.Builder subChannelId(String subChannelId)
The ID of the SubChannel.
subChannelId - The ID of the SubChannel.ChannelMessage.Builder contentType(String contentType)
The content type of the channel message.
contentType - The content type of the channel message.Copyright © 2023. All rights reserved.