Interface MessageMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MessageMetadata.Builder,,MessageMetadata> SdkBuilder<MessageMetadata.Builder,,MessageMetadata> SdkPojo
- Enclosing class:
MessageMetadata
public static interface MessageMetadata.Builder
extends SdkPojo, CopyableBuilder<MessageMetadata.Builder,MessageMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the message that contains the metadata information.receipts(Collection<Receipt> receipts) The list of receipt information for a message for different recipients.receipts(Consumer<Receipt.Builder>... receipts) The list of receipt information for a message for different recipients.The list of receipt information for a message for different recipients.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 identifier of the message that contains the metadata information.
- Parameters:
messageId- The identifier of the message that contains the metadata information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
The list of receipt information for a message for different recipients.
- Parameters:
receipts- The list of receipt information for a message for different recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
The list of receipt information for a message for different recipients.
- Parameters:
receipts- The list of receipt information for a message for different recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
receipts
The list of receipt information for a message for different recipients.
This is a convenience method that creates an instance of theReceipt.Builderavoiding the need to create one manually viaReceipt.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreceipts(List<Receipt>).- Parameters:
receipts- a consumer that will call methods onReceipt.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-