Interface GetMessageInsightsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMessageInsightsResponse.Builder,,GetMessageInsightsResponse> SdkBuilder<GetMessageInsightsResponse.Builder,,GetMessageInsightsResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
GetMessageInsightsResponse
-
Method Summary
Modifier and TypeMethodDescriptionemailTags(Collection<MessageTag> emailTags) A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.emailTags(Consumer<MessageTag.Builder>... emailTags) A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.emailTags(MessageTag... emailTags) A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.fromEmailAddress(String fromEmailAddress) The from address used to send the message.insights(Collection<EmailInsights> insights) A set of insights associated with the message.insights(Consumer<EmailInsights.Builder>... insights) A set of insights associated with the message.insights(EmailInsights... insights) A set of insights associated with the message.A unique identifier for the message.The subject line of the 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
messageId
A unique identifier for the message.
- Parameters:
messageId- A unique identifier for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromEmailAddress
The from address used to send the message.
- Parameters:
fromEmailAddress- The from address used to send the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
The subject line of the message.
- Parameters:
subject- The subject line of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailTags
A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.
- Parameters:
emailTags- A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailTags
A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.
- Parameters:
emailTags- A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailTags
A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES Auto-Tags.
This is a convenience method that creates an instance of theMessageTag.Builderavoiding the need to create one manually viaMessageTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toemailTags(List<MessageTag>).- Parameters:
emailTags- a consumer that will call methods onMessageTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insights
A set of insights associated with the message.
- Parameters:
insights- A set of insights associated with the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
A set of insights associated with the message.
- Parameters:
insights- A set of insights associated with the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insights
A set of insights associated with the message.
This is a convenience method that creates an instance of theEmailInsights.Builderavoiding the need to create one manually viaEmailInsights.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsights(List<EmailInsights>).- Parameters:
insights- a consumer that will call methods onEmailInsights.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-