/* * 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; /** *
* An object that shows the status of the Deliverability dashboard. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetDeliverabilityDashboardOptionsResult extends com.amazonaws.AmazonWebServiceResult
* Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is
* enabled.
*
* The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an * active subscription that isn’t due to expire at the end of the month. *
*/ private java.util.Date subscriptionExpiryDate; /** *
* The current status of your Deliverability dashboard subscription. If this value is
* PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current calendar
* month.
*
* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month. *
*/ private java.util.List* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. *
*/ private java.util.List
* Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is
* enabled.
*
true
, the
* dashboard is enabled.
*/
public void setDashboardEnabled(Boolean dashboardEnabled) {
this.dashboardEnabled = dashboardEnabled;
}
/**
*
* Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is
* enabled.
*
true
, the
* dashboard is enabled.
*/
public Boolean getDashboardEnabled() {
return this.dashboardEnabled;
}
/**
*
* Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is
* enabled.
*
true
, the
* dashboard is enabled.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetDeliverabilityDashboardOptionsResult withDashboardEnabled(Boolean dashboardEnabled) {
setDashboardEnabled(dashboardEnabled);
return this;
}
/**
*
* Specifies whether the Deliverability dashboard is enabled. If this value is true
, the dashboard is
* enabled.
*
true
, the
* dashboard is enabled.
*/
public Boolean isDashboardEnabled() {
return this.dashboardEnabled;
}
/**
* * The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an * active subscription that isn’t due to expire at the end of the month. *
* * @param subscriptionExpiryDate * The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you * have an active subscription that isn’t due to expire at the end of the month. */ public void setSubscriptionExpiryDate(java.util.Date subscriptionExpiryDate) { this.subscriptionExpiryDate = subscriptionExpiryDate; } /** ** The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an * active subscription that isn’t due to expire at the end of the month. *
* * @return The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you * have an active subscription that isn’t due to expire at the end of the month. */ public java.util.Date getSubscriptionExpiryDate() { return this.subscriptionExpiryDate; } /** ** The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you have an * active subscription that isn’t due to expire at the end of the month. *
* * @param subscriptionExpiryDate * The date when your current subscription to the Deliverability dashboard is scheduled to expire, if your * subscription is scheduled to expire at the end of the current calendar month. This value is null if you * have an active subscription that isn’t due to expire at the end of the month. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityDashboardOptionsResult withSubscriptionExpiryDate(java.util.Date subscriptionExpiryDate) { setSubscriptionExpiryDate(subscriptionExpiryDate); return this; } /** *
* The current status of your Deliverability dashboard subscription. If this value is
* PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current calendar
* month.
*
PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current
* calendar month.
* @see DeliverabilityDashboardAccountStatus
*/
public void setAccountStatus(String accountStatus) {
this.accountStatus = accountStatus;
}
/**
*
* The current status of your Deliverability dashboard subscription. If this value is
* PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current calendar
* month.
*
PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current
* calendar month.
* @see DeliverabilityDashboardAccountStatus
*/
public String getAccountStatus() {
return this.accountStatus;
}
/**
*
* The current status of your Deliverability dashboard subscription. If this value is
* PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current calendar
* month.
*
PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current
* calendar month.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DeliverabilityDashboardAccountStatus
*/
public GetDeliverabilityDashboardOptionsResult withAccountStatus(String accountStatus) {
setAccountStatus(accountStatus);
return this;
}
/**
*
* The current status of your Deliverability dashboard subscription. If this value is
* PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current calendar
* month.
*
PENDING_EXPIRATION
, your subscription is scheduled to expire at the end of the current
* calendar month.
* @return Returns a reference to this object so that method calls can be chained together.
* @see DeliverabilityDashboardAccountStatus
*/
public GetDeliverabilityDashboardOptionsResult withAccountStatus(DeliverabilityDashboardAccountStatus accountStatus) {
this.accountStatus = accountStatus.toString();
return this;
}
/**
* * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month. *
* * @return An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar * month. */ public java.util.List* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month. *
* * @param activeSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar * month. */ public void setActiveSubscribedDomains(java.util.Collection* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setActiveSubscribedDomains(java.util.Collection)} or * {@link #withActiveSubscribedDomains(java.util.Collection)} if you want to override the existing values. *
* * @param activeSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar * month. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityDashboardOptionsResult withActiveSubscribedDomains(DomainDeliverabilityTrackingOption... activeSubscribedDomains) { if (this.activeSubscribedDomains == null) { setActiveSubscribedDomains(new java.util.ArrayList* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar month. *
* * @param activeSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that isn’t scheduled to expire at the end of the current calendar * month. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityDashboardOptionsResult withActiveSubscribedDomains(java.util.Collection* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. *
* * @return An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar * month. */ public java.util.List* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. *
* * @param pendingExpirationSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. */ public void setPendingExpirationSubscribedDomains(java.util.Collection* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPendingExpirationSubscribedDomains(java.util.Collection)} or * {@link #withPendingExpirationSubscribedDomains(java.util.Collection)} if you want to override the existing * values. *
* * @param pendingExpirationSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityDashboardOptionsResult withPendingExpirationSubscribedDomains( DomainDeliverabilityTrackingOption... pendingExpirationSubscribedDomains) { if (this.pendingExpirationSubscribedDomains == null) { setPendingExpirationSubscribedDomains(new java.util.ArrayList* An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. *
* * @param pendingExpirationSubscribedDomains * An array of objects, one for each verified domain that you use to send email and currently has an active * Deliverability dashboard subscription that's scheduled to expire at the end of the current calendar month. * @return Returns a reference to this object so that method calls can be chained together. */ public GetDeliverabilityDashboardOptionsResult withPendingExpirationSubscribedDomains( java.util.Collection