/* * 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; /** *
* The results of the predictive inbox placement test. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDeliverabilityTestReportResult extends com.amazonaws.AmazonWebServiceResult* An object that contains the results of the predictive inbox placement test. *
*/ private DeliverabilityTestReport deliverabilityTestReport; /** ** An object that specifies how many test messages that were sent during the predictive inbox placement test were * delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered. *
*/ private PlacementStatistics overallPlacement; /** ** An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, * Yahoo, AOL, and others. *
*/ private java.util.List* An object that contains the message that you sent when you performed this predictive inbox placement test. *
*/ private String message; /** ** An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. *
*/ private java.util.List* An object that contains the results of the predictive inbox placement test. *
* * @param deliverabilityTestReport * An object that contains the results of the predictive inbox placement test. */ public void setDeliverabilityTestReport(DeliverabilityTestReport deliverabilityTestReport) { this.deliverabilityTestReport = deliverabilityTestReport; } /** ** An object that contains the results of the predictive inbox placement test. *
* * @return An object that contains the results of the predictive inbox placement test. */ public DeliverabilityTestReport getDeliverabilityTestReport() { return this.deliverabilityTestReport; } /** ** An object that contains the results of the predictive inbox placement test. *
* * @param deliverabilityTestReport * An object that contains the results of the predictive inbox placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withDeliverabilityTestReport(DeliverabilityTestReport deliverabilityTestReport) { setDeliverabilityTestReport(deliverabilityTestReport); return this; } /** ** An object that specifies how many test messages that were sent during the predictive inbox placement test were * delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered. *
* * @param overallPlacement * An object that specifies how many test messages that were sent during the predictive inbox placement test * were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many * weren't delivered. */ public void setOverallPlacement(PlacementStatistics overallPlacement) { this.overallPlacement = overallPlacement; } /** ** An object that specifies how many test messages that were sent during the predictive inbox placement test were * delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered. *
* * @return An object that specifies how many test messages that were sent during the predictive inbox placement test * were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many * weren't delivered. */ public PlacementStatistics getOverallPlacement() { return this.overallPlacement; } /** ** An object that specifies how many test messages that were sent during the predictive inbox placement test were * delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many weren't delivered. *
* * @param overallPlacement * An object that specifies how many test messages that were sent during the predictive inbox placement test * were delivered to recipients' inboxes, how many were sent to recipients' spam folders, and how many * weren't delivered. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withOverallPlacement(PlacementStatistics overallPlacement) { setOverallPlacement(overallPlacement); return this; } /** ** An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, * Yahoo, AOL, and others. *
* * @return An object that describes how the test email was handled by several email providers, including Gmail, * Hotmail, Yahoo, AOL, and others. */ public java.util.List* An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, * Yahoo, AOL, and others. *
* * @param ispPlacements * An object that describes how the test email was handled by several email providers, including Gmail, * Hotmail, Yahoo, AOL, and others. */ public void setIspPlacements(java.util.Collection* An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, * Yahoo, AOL, and others. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setIspPlacements(java.util.Collection)} or {@link #withIspPlacements(java.util.Collection)} if you want * to override the existing values. *
* * @param ispPlacements * An object that describes how the test email was handled by several email providers, including Gmail, * Hotmail, Yahoo, AOL, and others. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withIspPlacements(IspPlacement... ispPlacements) { if (this.ispPlacements == null) { setIspPlacements(new java.util.ArrayList* An object that describes how the test email was handled by several email providers, including Gmail, Hotmail, * Yahoo, AOL, and others. *
* * @param ispPlacements * An object that describes how the test email was handled by several email providers, including Gmail, * Hotmail, Yahoo, AOL, and others. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withIspPlacements(java.util.Collection* An object that contains the message that you sent when you performed this predictive inbox placement test. *
* * @param message * An object that contains the message that you sent when you performed this predictive inbox placement test. */ public void setMessage(String message) { this.message = message; } /** ** An object that contains the message that you sent when you performed this predictive inbox placement test. *
* * @return An object that contains the message that you sent when you performed this predictive inbox placement * test. */ public String getMessage() { return this.message; } /** ** An object that contains the message that you sent when you performed this predictive inbox placement test. *
* * @param message * An object that contains the message that you sent when you performed this predictive inbox placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withMessage(String message) { setMessage(message); return this; } /** ** An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. *
* * @return An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. */ public java.util.List* An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. *
* * @param tags * An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. */ public void setTags(java.util.Collection* An array of objects that define the tags (keys and values) that are associated 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 are associated with the predictive inbox * placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. *
* * @param tags * An array of objects that define the tags (keys and values) that are associated with the predictive inbox * placement test. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityTestReportResult withTags(java.util.Collection