Interface SendBulkEmailRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<SendBulkEmailRequest.Builder,,- SendBulkEmailRequest> - SdkBuilder<SendBulkEmailRequest.Builder,,- SendBulkEmailRequest> - SdkPojo,- SdkRequest.Builder,- SesV2Request.Builder
- Enclosing class:
- SendBulkEmailRequest
- 
Method SummaryModifier and TypeMethodDescriptionbulkEmailEntries(Collection<BulkEmailEntry> bulkEmailEntries) The list of bulk email entry objects.bulkEmailEntries(Consumer<BulkEmailEntry.Builder>... bulkEmailEntries) The list of bulk email entry objects.bulkEmailEntries(BulkEmailEntry... bulkEmailEntries) The list of bulk email entry objects.configurationSetName(String configurationSetName) The name of the configuration set to use when sending the email.default SendBulkEmailRequest.BuilderdefaultContent(Consumer<BulkEmailContent.Builder> defaultContent) An object that contains the body of the message.defaultContent(BulkEmailContent defaultContent) An object that contains the body of the message.defaultEmailTags(Collection<MessageTag> defaultEmailTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendEmailoperation.defaultEmailTags(Consumer<MessageTag.Builder>... defaultEmailTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendEmailoperation.defaultEmailTags(MessageTag... defaultEmailTags) A list of tags, in the form of name/value pairs, to apply to an email that you send using theSendEmailoperation.endpointId(String endpointId) The ID of the multi-region endpoint (global-endpoint).feedbackForwardingEmailAddress(String feedbackForwardingEmailAddress) The address that you want bounce and complaint notifications to be sent to.feedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn) This parameter is used only for sending authorization.fromEmailAddress(String fromEmailAddress) The email address to use as the "From" address for the email.fromEmailAddressIdentityArn(String fromEmailAddressIdentityArn) This parameter is used only for sending authorization.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.replyToAddresses(String... replyToAddresses) The "Reply-to" email addresses for the message.replyToAddresses(Collection<String> replyToAddresses) The "Reply-to" email addresses for the message.tenantName(String tenantName) The name of the tenant through which this bulk email will be sent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builderbuild
- 
Method Details- 
fromEmailAddressThe email address to use as the "From" address for the email. The address that you specify has to be verified. - Parameters:
- fromEmailAddress- The email address to use as the "From" address for the email. The address that you specify has to be verified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fromEmailAddressIdentityArnThis parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FromEmailAddressparameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the FromEmailAddressIdentityArnto be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFromEmailAddressto be sender@example.com.For more information about sending authorization, see the Amazon SES Developer Guide. - Parameters:
- fromEmailAddressIdentityArn- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the- FromEmailAddressparameter.- For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use sender@example.com, then you would specify the - FromEmailAddressIdentityArnto be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the- FromEmailAddressto be sender@example.com.- For more information about sending authorization, see the Amazon SES Developer Guide. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replyToAddressesThe "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply. - Parameters:
- replyToAddresses- The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
replyToAddressesThe "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply. - Parameters:
- replyToAddresses- The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address receives the reply.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
feedbackForwardingEmailAddressThe address that you want bounce and complaint notifications to be sent to. - Parameters:
- feedbackForwardingEmailAddress- The address that you want bounce and complaint notifications to be sent to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
feedbackForwardingEmailAddressIdentityArnSendBulkEmailRequest.Builder feedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn) This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the FeedbackForwardingEmailAddressparameter.For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the FeedbackForwardingEmailAddressIdentityArnto be arn:aws:ses:us-east-1:123456789012:identity/example.com, and theFeedbackForwardingEmailAddressto be feedback@example.com.For more information about sending authorization, see the Amazon SES Developer Guide. - Parameters:
- feedbackForwardingEmailAddressIdentityArn- This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the- FeedbackForwardingEmailAddressparameter.- For example, if the owner of example.com (which has ARN arn:aws:ses:us-east-1:123456789012:identity/example.com) attaches a policy to it that authorizes you to use feedback@example.com, then you would specify the - FeedbackForwardingEmailAddressIdentityArnto be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the- FeedbackForwardingEmailAddressto be feedback@example.com.- For more information about sending authorization, see the Amazon SES Developer Guide. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultEmailTagsA list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.- Parameters:
- defaultEmailTags- A list of tags, in the form of name/value pairs, to apply to an email that you send using the- SendEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultEmailTagsA list of tags, in the form of name/value pairs, to apply to an email that you send using the SendEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.- Parameters:
- defaultEmailTags- A list of tags, in the form of name/value pairs, to apply to an email that you send using the- SendEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultEmailTagsA list of tags, in the form of name/value pairs, to apply to an email that you send using the This is a convenience method that creates an instance of theSendEmailoperation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.MessageTag.Builderavoiding the need to create one manually viaMessageTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultEmailTags(List<MessageTag>).- Parameters:
- defaultEmailTags- a consumer that will call methods on- MessageTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
defaultContentAn object that contains the body of the message. You can specify a template message. - Parameters:
- defaultContent- An object that contains the body of the message. You can specify a template message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
defaultContentdefault SendBulkEmailRequest.Builder defaultContent(Consumer<BulkEmailContent.Builder> defaultContent) An object that contains the body of the message. You can specify a template message. This is a convenience method that creates an instance of theBulkEmailContent.Builderavoiding the need to create one manually viaBulkEmailContent.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultContent(BulkEmailContent).- Parameters:
- defaultContent- a consumer that will call methods on- BulkEmailContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
bulkEmailEntriesThe list of bulk email entry objects. - Parameters:
- bulkEmailEntries- The list of bulk email entry objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bulkEmailEntriesThe list of bulk email entry objects. - Parameters:
- bulkEmailEntries- The list of bulk email entry objects.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bulkEmailEntriesThe list of bulk email entry objects. This is a convenience method that creates an instance of theBulkEmailEntry.Builderavoiding the need to create one manually viaBulkEmailEntry.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobulkEmailEntries(List<BulkEmailEntry>).- Parameters:
- bulkEmailEntries- a consumer that will call methods on- BulkEmailEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
configurationSetNameThe name of the configuration set to use when sending the email. - Parameters:
- configurationSetName- The name of the configuration set to use when sending the email.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
endpointIdThe ID of the multi-region endpoint (global-endpoint). - Parameters:
- endpointId- The ID of the multi-region endpoint (global-endpoint).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tenantNameThe name of the tenant through which this bulk email will be sent. The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant. - Parameters:
- tenantName- The name of the tenant through which this bulk email will be sent.- The email sending operation will only succeed if all referenced resources (identities, configuration sets, and templates) are associated with this tenant. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationSendBulkEmailRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationSendBulkEmailRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-