All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.simpleemailv2.model.SendBulkEmailRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Simple Email module holds the client classes that are used for communicating with Amazon Simple Email Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.simpleemailv2.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 

* Represents a request to send email messages to multiple destinations using Amazon SES. For more information, see the * Amazon SES Developer * Guide. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SendBulkEmailRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The email address to use as the "From" address for the email. The address that you specify has to be verified. *

*/ private String fromEmailAddress; /** *

* 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 * FromEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

*/ private String fromEmailAddressIdentityArn; /** *

* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address * receives the reply. *

*/ private java.util.List replyToAddresses; /** *

* The address that you want bounce and complaint notifications to be sent to. *

*/ private String feedbackForwardingEmailAddress; /** *

* 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 * FeedbackForwardingEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to * be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

*/ private String feedbackForwardingEmailAddressIdentityArn; /** *

* A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. *

*/ private java.util.List defaultEmailTags; /** *

* An object that contains the body of the message. You can specify a template message. *

*/ private BulkEmailContent defaultContent; /** *

* The list of bulk email entry objects. *

*/ private java.util.List bulkEmailEntries; /** *

* The name of the configuration set to use when sending the email. *

*/ private String configurationSetName; /** *

* The email address to use as the "From" address for the email. The address that you specify has to be verified. *

* * @param fromEmailAddress * The email address to use as the "From" address for the email. The address that you specify has to be * verified. */ public void setFromEmailAddress(String fromEmailAddress) { this.fromEmailAddress = fromEmailAddress; } /** *

* The email address to use as the "From" address for the email. The address that you specify has to be verified. *

* * @return The email address to use as the "From" address for the email. The address that you specify has to be * verified. */ public String getFromEmailAddress() { return this.fromEmailAddress; } /** *

* The email address to use as the "From" address for the email. The address that you specify has to be verified. *

* * @param fromEmailAddress * The email address to use as the "From" address for the email. The address that you specify has to be * verified. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withFromEmailAddress(String fromEmailAddress) { setFromEmailAddress(fromEmailAddress); return this; } /** *

* 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 * FromEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @param 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 * FromEmailAddress parameter.

*

* 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 [email protected], then you would specify the FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be * [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. */ public void setFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn) { this.fromEmailAddressIdentityArn = 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 * FromEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @return 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 * FromEmailAddress parameter.

*

* 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 [email protected], then you would specify the FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be * [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. */ public String getFromEmailAddressIdentityArn() { return this.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 * FromEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FromEmailAddressIdentityArn to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FromEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @param 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 * FromEmailAddress parameter.

*

* 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 [email protected], then you would specify the FromEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress to be * [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withFromEmailAddressIdentityArn(String fromEmailAddressIdentityArn) { setFromEmailAddressIdentityArn(fromEmailAddressIdentityArn); return this; } /** *

* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address * receives the reply. *

* * @return The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to * address receives the reply. */ public java.util.List getReplyToAddresses() { return replyToAddresses; } /** *

* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address * receives the reply. *

* * @param replyToAddresses * The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to * address receives the reply. */ public void setReplyToAddresses(java.util.Collection replyToAddresses) { if (replyToAddresses == null) { this.replyToAddresses = null; return; } this.replyToAddresses = new java.util.ArrayList(replyToAddresses); } /** *

* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address * receives the reply. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setReplyToAddresses(java.util.Collection)} or {@link #withReplyToAddresses(java.util.Collection)} if you * want to override the existing values. *

* * @param replyToAddresses * The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to * address receives the reply. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withReplyToAddresses(String... replyToAddresses) { if (this.replyToAddresses == null) { setReplyToAddresses(new java.util.ArrayList(replyToAddresses.length)); } for (String ele : replyToAddresses) { this.replyToAddresses.add(ele); } return this; } /** *

* The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to address * receives the reply. *

* * @param replyToAddresses * The "Reply-to" email addresses for the message. When the recipient replies to the message, each Reply-to * address receives the reply. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withReplyToAddresses(java.util.Collection replyToAddresses) { setReplyToAddresses(replyToAddresses); return this; } /** *

* The address that you want bounce and complaint notifications to be sent to. *

* * @param feedbackForwardingEmailAddress * The address that you want bounce and complaint notifications to be sent to. */ public void setFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress) { this.feedbackForwardingEmailAddress = feedbackForwardingEmailAddress; } /** *

* The address that you want bounce and complaint notifications to be sent to. *

* * @return The address that you want bounce and complaint notifications to be sent to. */ public String getFeedbackForwardingEmailAddress() { return this.feedbackForwardingEmailAddress; } /** *

* The address that you want bounce and complaint notifications to be sent to. *

* * @param feedbackForwardingEmailAddress * The address that you want bounce and complaint notifications to be sent to. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withFeedbackForwardingEmailAddress(String feedbackForwardingEmailAddress) { setFeedbackForwardingEmailAddress(feedbackForwardingEmailAddress); return this; } /** *

* 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 * FeedbackForwardingEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to * be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @param 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 * FeedbackForwardingEmailAddress parameter.

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. */ public void setFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn) { this.feedbackForwardingEmailAddressIdentityArn = 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 * FeedbackForwardingEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to * be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @return 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 * FeedbackForwardingEmailAddress parameter.

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. */ public String getFeedbackForwardingEmailAddressIdentityArn() { return this.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 * FeedbackForwardingEmailAddress parameter. *

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress to * be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES Developer * Guide. *

* * @param 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 * FeedbackForwardingEmailAddress parameter.

*

* 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 [email protected], then you would specify the * FeedbackForwardingEmailAddressIdentityArn to be * arn:aws:ses:us-east-1:123456789012:identity/example.com, and the * FeedbackForwardingEmailAddress to be [email protected]. *

*

* For more information about sending authorization, see the Amazon SES * Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withFeedbackForwardingEmailAddressIdentityArn(String feedbackForwardingEmailAddressIdentityArn) { setFeedbackForwardingEmailAddressIdentityArn(feedbackForwardingEmailAddressIdentityArn); return this; } /** *

* A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. *

* * @return A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so * that you can publish email sending events. */ public java.util.List getDefaultEmailTags() { return defaultEmailTags; } /** *

* A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. *

* * @param defaultEmailTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that * you can publish email sending events. */ public void setDefaultEmailTags(java.util.Collection defaultEmailTags) { if (defaultEmailTags == null) { this.defaultEmailTags = null; return; } this.defaultEmailTags = new java.util.ArrayList(defaultEmailTags); } /** *

* A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setDefaultEmailTags(java.util.Collection)} or {@link #withDefaultEmailTags(java.util.Collection)} if you * want to override the existing values. *

* * @param defaultEmailTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that * you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withDefaultEmailTags(MessageTag... defaultEmailTags) { if (this.defaultEmailTags == null) { setDefaultEmailTags(new java.util.ArrayList(defaultEmailTags.length)); } for (MessageTag ele : defaultEmailTags) { this.defaultEmailTags.add(ele); } return this; } /** *

* A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that you * can publish email sending events. *

* * @param defaultEmailTags * A list of tags, in the form of name/value pairs, to apply to an email that you send using the * SendEmail operation. Tags correspond to characteristics of the email that you define, so that * you can publish email sending events. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withDefaultEmailTags(java.util.Collection defaultEmailTags) { setDefaultEmailTags(defaultEmailTags); return this; } /** *

* An object that contains the body of the message. You can specify a template message. *

* * @param defaultContent * An object that contains the body of the message. You can specify a template message. */ public void setDefaultContent(BulkEmailContent defaultContent) { this.defaultContent = defaultContent; } /** *

* An object that contains the body of the message. You can specify a template message. *

* * @return An object that contains the body of the message. You can specify a template message. */ public BulkEmailContent getDefaultContent() { return this.defaultContent; } /** *

* An object that contains the body of the message. You can specify a template message. *

* * @param defaultContent * An object that contains the body of the message. You can specify a template message. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withDefaultContent(BulkEmailContent defaultContent) { setDefaultContent(defaultContent); return this; } /** *

* The list of bulk email entry objects. *

* * @return The list of bulk email entry objects. */ public java.util.List getBulkEmailEntries() { return bulkEmailEntries; } /** *

* The list of bulk email entry objects. *

* * @param bulkEmailEntries * The list of bulk email entry objects. */ public void setBulkEmailEntries(java.util.Collection bulkEmailEntries) { if (bulkEmailEntries == null) { this.bulkEmailEntries = null; return; } this.bulkEmailEntries = new java.util.ArrayList(bulkEmailEntries); } /** *

* The list of bulk email entry objects. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setBulkEmailEntries(java.util.Collection)} or {@link #withBulkEmailEntries(java.util.Collection)} if you * want to override the existing values. *

* * @param bulkEmailEntries * The list of bulk email entry objects. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withBulkEmailEntries(BulkEmailEntry... bulkEmailEntries) { if (this.bulkEmailEntries == null) { setBulkEmailEntries(new java.util.ArrayList(bulkEmailEntries.length)); } for (BulkEmailEntry ele : bulkEmailEntries) { this.bulkEmailEntries.add(ele); } return this; } /** *

* The list of bulk email entry objects. *

* * @param bulkEmailEntries * The list of bulk email entry objects. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withBulkEmailEntries(java.util.Collection bulkEmailEntries) { setBulkEmailEntries(bulkEmailEntries); return this; } /** *

* The name of the configuration set to use when sending the email. *

* * @param configurationSetName * The name of the configuration set to use when sending the email. */ public void setConfigurationSetName(String configurationSetName) { this.configurationSetName = configurationSetName; } /** *

* The name of the configuration set to use when sending the email. *

* * @return The name of the configuration set to use when sending the email. */ public String getConfigurationSetName() { return this.configurationSetName; } /** *

* The name of the configuration set to use when sending the email. *

* * @param configurationSetName * The name of the configuration set to use when sending the email. * @return Returns a reference to this object so that method calls can be chained together. */ public SendBulkEmailRequest withConfigurationSetName(String configurationSetName) { setConfigurationSetName(configurationSetName); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getFromEmailAddress() != null) sb.append("FromEmailAddress: ").append(getFromEmailAddress()).append(","); if (getFromEmailAddressIdentityArn() != null) sb.append("FromEmailAddressIdentityArn: ").append(getFromEmailAddressIdentityArn()).append(","); if (getReplyToAddresses() != null) sb.append("ReplyToAddresses: ").append(getReplyToAddresses()).append(","); if (getFeedbackForwardingEmailAddress() != null) sb.append("FeedbackForwardingEmailAddress: ").append(getFeedbackForwardingEmailAddress()).append(","); if (getFeedbackForwardingEmailAddressIdentityArn() != null) sb.append("FeedbackForwardingEmailAddressIdentityArn: ").append(getFeedbackForwardingEmailAddressIdentityArn()).append(","); if (getDefaultEmailTags() != null) sb.append("DefaultEmailTags: ").append(getDefaultEmailTags()).append(","); if (getDefaultContent() != null) sb.append("DefaultContent: ").append(getDefaultContent()).append(","); if (getBulkEmailEntries() != null) sb.append("BulkEmailEntries: ").append(getBulkEmailEntries()).append(","); if (getConfigurationSetName() != null) sb.append("ConfigurationSetName: ").append(getConfigurationSetName()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SendBulkEmailRequest == false) return false; SendBulkEmailRequest other = (SendBulkEmailRequest) obj; if (other.getFromEmailAddress() == null ^ this.getFromEmailAddress() == null) return false; if (other.getFromEmailAddress() != null && other.getFromEmailAddress().equals(this.getFromEmailAddress()) == false) return false; if (other.getFromEmailAddressIdentityArn() == null ^ this.getFromEmailAddressIdentityArn() == null) return false; if (other.getFromEmailAddressIdentityArn() != null && other.getFromEmailAddressIdentityArn().equals(this.getFromEmailAddressIdentityArn()) == false) return false; if (other.getReplyToAddresses() == null ^ this.getReplyToAddresses() == null) return false; if (other.getReplyToAddresses() != null && other.getReplyToAddresses().equals(this.getReplyToAddresses()) == false) return false; if (other.getFeedbackForwardingEmailAddress() == null ^ this.getFeedbackForwardingEmailAddress() == null) return false; if (other.getFeedbackForwardingEmailAddress() != null && other.getFeedbackForwardingEmailAddress().equals(this.getFeedbackForwardingEmailAddress()) == false) return false; if (other.getFeedbackForwardingEmailAddressIdentityArn() == null ^ this.getFeedbackForwardingEmailAddressIdentityArn() == null) return false; if (other.getFeedbackForwardingEmailAddressIdentityArn() != null && other.getFeedbackForwardingEmailAddressIdentityArn().equals(this.getFeedbackForwardingEmailAddressIdentityArn()) == false) return false; if (other.getDefaultEmailTags() == null ^ this.getDefaultEmailTags() == null) return false; if (other.getDefaultEmailTags() != null && other.getDefaultEmailTags().equals(this.getDefaultEmailTags()) == false) return false; if (other.getDefaultContent() == null ^ this.getDefaultContent() == null) return false; if (other.getDefaultContent() != null && other.getDefaultContent().equals(this.getDefaultContent()) == false) return false; if (other.getBulkEmailEntries() == null ^ this.getBulkEmailEntries() == null) return false; if (other.getBulkEmailEntries() != null && other.getBulkEmailEntries().equals(this.getBulkEmailEntries()) == false) return false; if (other.getConfigurationSetName() == null ^ this.getConfigurationSetName() == null) return false; if (other.getConfigurationSetName() != null && other.getConfigurationSetName().equals(this.getConfigurationSetName()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getFromEmailAddress() == null) ? 0 : getFromEmailAddress().hashCode()); hashCode = prime * hashCode + ((getFromEmailAddressIdentityArn() == null) ? 0 : getFromEmailAddressIdentityArn().hashCode()); hashCode = prime * hashCode + ((getReplyToAddresses() == null) ? 0 : getReplyToAddresses().hashCode()); hashCode = prime * hashCode + ((getFeedbackForwardingEmailAddress() == null) ? 0 : getFeedbackForwardingEmailAddress().hashCode()); hashCode = prime * hashCode + ((getFeedbackForwardingEmailAddressIdentityArn() == null) ? 0 : getFeedbackForwardingEmailAddressIdentityArn().hashCode()); hashCode = prime * hashCode + ((getDefaultEmailTags() == null) ? 0 : getDefaultEmailTags().hashCode()); hashCode = prime * hashCode + ((getDefaultContent() == null) ? 0 : getDefaultContent().hashCode()); hashCode = prime * hashCode + ((getBulkEmailEntries() == null) ? 0 : getBulkEmailEntries().hashCode()); hashCode = prime * hashCode + ((getConfigurationSetName() == null) ? 0 : getConfigurationSetName().hashCode()); return hashCode; } @Override public SendBulkEmailRequest clone() { return (SendBulkEmailRequest) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy