Interface GetMessageInsightsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetMessageInsightsResponse.Builder,GetMessageInsightsResponse>,SdkBuilder<GetMessageInsightsResponse.Builder,GetMessageInsightsResponse>,SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- GetMessageInsightsResponse
@Mutable @NotThreadSafe public static interface GetMessageInsightsResponse.Builder extends SesV2Response.Builder, SdkPojo, CopyableBuilder<GetMessageInsightsResponse.Builder,GetMessageInsightsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMessageInsightsResponse.BuilderemailTags(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.GetMessageInsightsResponse.BuilderemailTags(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.GetMessageInsightsResponse.BuilderemailTags(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.GetMessageInsightsResponse.BuilderfromEmailAddress(String fromEmailAddress)The from address used to send the message.GetMessageInsightsResponse.Builderinsights(Collection<EmailInsights> insights)A set of insights associated with the message.GetMessageInsightsResponse.Builderinsights(Consumer<EmailInsights.Builder>... insights)A set of insights associated with the message.GetMessageInsightsResponse.Builderinsights(EmailInsights... insights)A set of insights associated with the message.GetMessageInsightsResponse.BuildermessageId(String messageId)A unique identifier for the message.GetMessageInsightsResponse.Buildersubject(String subject)The subject line of the message.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
messageId
GetMessageInsightsResponse.Builder messageId(String 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
GetMessageInsightsResponse.Builder fromEmailAddress(String 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
GetMessageInsightsResponse.Builder subject(String 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
GetMessageInsightsResponse.Builder emailTags(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.
- 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
GetMessageInsightsResponse.Builder 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.
- 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
GetMessageInsightsResponse.Builder 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.
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 to#emailTags(List.) - 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:
#emailTags(java.util.Collection)
-
insights
GetMessageInsightsResponse.Builder insights(Collection<EmailInsights> 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
GetMessageInsightsResponse.Builder insights(EmailInsights... 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
GetMessageInsightsResponse.Builder insights(Consumer<EmailInsights.Builder>... 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 to#insights(List.) - 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:
#insights(java.util.Collection)
-
-