/* * Copyright 2018-2023 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 sender@example.com, then you would specify the
* FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FromEmailAddress
to be sender@example.com.
*
* 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* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
* be feedback@example.com.
*
* 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.
*
* 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* 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 sender@example.com, then you would specify the
* FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FromEmailAddress
to be sender@example.com.
*
* 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 sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
* sender@example.com.
*
* 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 sender@example.com, then you would specify the
* FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FromEmailAddress
to be sender@example.com.
*
* 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 sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
* sender@example.com.
*
* 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 sender@example.com, then you would specify the
* FromEmailAddressIdentityArn
to be arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FromEmailAddress
to be sender@example.com.
*
* 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 sender@example.com, then you would specify the FromEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FromEmailAddress
to be
* sender@example.com.
*
* 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* 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* 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* 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* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
* be feedback@example.com.
*
* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FeedbackForwardingEmailAddress
to be feedback@example.com.
*
* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
* be feedback@example.com.
*
* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FeedbackForwardingEmailAddress
to be feedback@example.com.
*
* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the FeedbackForwardingEmailAddress
to
* be feedback@example.com.
*
* 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 feedback@example.com, then you would specify the
* FeedbackForwardingEmailAddressIdentityArn
to be
* arn:aws:ses:us-east-1:123456789012:identity/example.com, and the
* FeedbackForwardingEmailAddress
to be feedback@example.com.
*
* 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.
*
SendEmail
operation. Tags correspond to characteristics of the email that you define, so
* that you can publish email sending events.
*/
public java.util.List
* 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.
*
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
* 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
* 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.
*
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* 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* The list of bulk email entry objects. *
* * @param bulkEmailEntries * The list of bulk email entry objects. */ public void setBulkEmailEntries(java.util.Collection* 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* 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* 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(); } }