/* * 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; /** *
* A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how
* your messages will be handled by various email providers around the world. When you perform a predictive inbox
* placement test, you provide a sample message that contains the content that you plan to send to your customers. We
* send that message to special email addresses spread across several major email providers around the world. The test
* takes about 24 hours to complete. When the test is complete, you can use the GetDeliverabilityTestReport
* operation to view the results of the test.
*
* A unique name that helps you to identify the predictive inbox placement test when you retrieve the results. *
*/ private String reportName; /** ** The email address that the predictive inbox placement test email was sent from. *
*/ private String fromEmailAddress; /** ** The HTML body of the message that you sent when you performed the predictive inbox placement test. *
*/ private EmailContent content; /** ** An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox * placement test. *
*/ private java.util.List* A unique name that helps you to identify the predictive inbox placement test when you retrieve the results. *
* * @param reportName * A unique name that helps you to identify the predictive inbox placement test when you retrieve the * results. */ public void setReportName(String reportName) { this.reportName = reportName; } /** ** A unique name that helps you to identify the predictive inbox placement test when you retrieve the results. *
* * @return A unique name that helps you to identify the predictive inbox placement test when you retrieve the * results. */ public String getReportName() { return this.reportName; } /** ** A unique name that helps you to identify the predictive inbox placement test when you retrieve the results. *
* * @param reportName * A unique name that helps you to identify the predictive inbox placement test when you retrieve the * results. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliverabilityTestReportRequest withReportName(String reportName) { setReportName(reportName); return this; } /** ** The email address that the predictive inbox placement test email was sent from. *
* * @param fromEmailAddress * The email address that the predictive inbox placement test email was sent from. */ public void setFromEmailAddress(String fromEmailAddress) { this.fromEmailAddress = fromEmailAddress; } /** ** The email address that the predictive inbox placement test email was sent from. *
* * @return The email address that the predictive inbox placement test email was sent from. */ public String getFromEmailAddress() { return this.fromEmailAddress; } /** ** The email address that the predictive inbox placement test email was sent from. *
* * @param fromEmailAddress * The email address that the predictive inbox placement test email was sent from. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliverabilityTestReportRequest withFromEmailAddress(String fromEmailAddress) { setFromEmailAddress(fromEmailAddress); return this; } /** ** The HTML body of the message that you sent when you performed the predictive inbox placement test. *
* * @param content * The HTML body of the message that you sent when you performed the predictive inbox placement test. */ public void setContent(EmailContent content) { this.content = content; } /** ** The HTML body of the message that you sent when you performed the predictive inbox placement test. *
* * @return The HTML body of the message that you sent when you performed the predictive inbox placement test. */ public EmailContent getContent() { return this.content; } /** ** The HTML body of the message that you sent when you performed the predictive inbox placement test. *
* * @param content * The HTML body of the message that you sent when you performed the predictive inbox placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliverabilityTestReportRequest withContent(EmailContent content) { setContent(content); return this; } /** ** An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox * placement test. *
* * @return An array of objects that define the tags (keys and values) that you want to associate with the predictive * inbox placement test. */ public java.util.List* An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox * placement test. *
* * @param tags * An array of objects that define the tags (keys and values) that you want to associate with the predictive * inbox placement test. */ public void setTags(java.util.Collection* An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox * placement test. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * An array of objects that define the tags (keys and values) that you want to associate with the predictive * inbox placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliverabilityTestReportRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox * placement test. *
* * @param tags * An array of objects that define the tags (keys and values) that you want to associate with the predictive * inbox placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDeliverabilityTestReportRequest withTags(java.util.Collection