/* * 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.pinpointemail.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* Enable or disable the Deliverability dashboard for your Amazon Pinpoint account. When you enable the Deliverability * dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send * email using Amazon Pinpoint. You also gain the ability to perform predictive inbox placement tests. *
** When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that * you accrue by using Amazon Pinpoint. For more information about the features and cost of a Deliverability dashboard * subscription, see Amazon Pinpoint Pricing. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PutDeliverabilityDashboardOptionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the
* dashboard, set this value to true
.
*
* An array of objects, one for each verified domain that you use to send email and enabled the Deliverability * dashboard for. *
*/ private java.util.List
* Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the
* dashboard, set this value to true
.
*
true
.
*/
public void setDashboardEnabled(Boolean dashboardEnabled) {
this.dashboardEnabled = dashboardEnabled;
}
/**
*
* Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the
* dashboard, set this value to true
.
*
true
.
*/
public Boolean getDashboardEnabled() {
return this.dashboardEnabled;
}
/**
*
* Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the
* dashboard, set this value to true
.
*
true
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PutDeliverabilityDashboardOptionRequest withDashboardEnabled(Boolean dashboardEnabled) {
setDashboardEnabled(dashboardEnabled);
return this;
}
/**
*
* Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the
* dashboard, set this value to true
.
*
true
.
*/
public Boolean isDashboardEnabled() {
return this.dashboardEnabled;
}
/**
* * An array of objects, one for each verified domain that you use to send email and enabled the Deliverability * dashboard for. *
* * @return An array of objects, one for each verified domain that you use to send email and enabled the * Deliverability dashboard for. */ public java.util.List* An array of objects, one for each verified domain that you use to send email and enabled the Deliverability * dashboard for. *
* * @param subscribedDomains * An array of objects, one for each verified domain that you use to send email and enabled the * Deliverability dashboard for. */ public void setSubscribedDomains(java.util.Collection* An array of objects, one for each verified domain that you use to send email and enabled the Deliverability * dashboard for. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSubscribedDomains(java.util.Collection)} or {@link #withSubscribedDomains(java.util.Collection)} if * you want to override the existing values. *
* * @param subscribedDomains * An array of objects, one for each verified domain that you use to send email and enabled the * Deliverability dashboard for. * @return Returns a reference to this object so that method calls can be chained together. */ public PutDeliverabilityDashboardOptionRequest withSubscribedDomains(DomainDeliverabilityTrackingOption... subscribedDomains) { if (this.subscribedDomains == null) { setSubscribedDomains(new java.util.ArrayList* An array of objects, one for each verified domain that you use to send email and enabled the Deliverability * dashboard for. *
* * @param subscribedDomains * An array of objects, one for each verified domain that you use to send email and enabled the * Deliverability dashboard for. * @return Returns a reference to this object so that method calls can be chained together. */ public PutDeliverabilityDashboardOptionRequest withSubscribedDomains(java.util.Collection