public static interface MessageMetadata.Builder extends SdkPojo, CopyableBuilder<MessageMetadata.Builder,MessageMetadata>
| Modifier and Type | Method and Description |
|---|---|
MessageMetadata.Builder |
messageId(String messageId)
The identifier of the message that contains the metadata information.
|
MessageMetadata.Builder |
receipts(Collection<Receipt> receipts)
The list of receipt information for a message for different recipients.
|
MessageMetadata.Builder |
receipts(Consumer<Receipt.Builder>... receipts)
The list of receipt information for a message for different recipients.
|
MessageMetadata.Builder |
receipts(Receipt... receipts)
The list of receipt information for a message for different recipients.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessageMetadata.Builder messageId(String messageId)
The identifier of the message that contains the metadata information.
messageId - The identifier of the message that contains the metadata information.MessageMetadata.Builder receipts(Collection<Receipt> receipts)
The list of receipt information for a message for different recipients.
receipts - The list of receipt information for a message for different recipients.MessageMetadata.Builder receipts(Receipt... receipts)
The list of receipt information for a message for different recipients.
receipts - The list of receipt information for a message for different recipients.MessageMetadata.Builder receipts(Consumer<Receipt.Builder>... receipts)
The list of receipt information for a message for different recipients.
This is a convenience method that creates an instance of theReceipt.Builder avoiding the need to create
one manually via Receipt.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #receipts(List.
receipts - a consumer that will call methods on
Receipt.Builder#receipts(java.util.Collection) Copyright © 2023. All rights reserved.