/* * 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; /** *

* A list of details about the email-sending capabilities of your Amazon Pinpoint account in the current AWS Region. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GetAccountResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint * account in the current AWS Region. *

*/ private SendQuota sendQuota; /** *

* Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region. *

*/ private Boolean sendingEnabled; /** *

* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated * with your account. *

*/ private Boolean dedicatedIpAutoWarmupEnabled; /** *

* The reputation status of your Amazon Pinpoint account. The status can be one of the following: *

* */ private String enforcementStatus; /** *

* Indicates whether or not your account has production access in the current AWS Region. *

*

* If the value is false, then your account is in the sandbox. When your account is in the * sandbox, you can only send email to verified identities. Additionally, the maximum number of emails you can send * in a 24-hour period (your sending quota) is 200, and the maximum number of emails you can send per second (your * maximum sending rate) is 1. *

*

* If the value is true, then your account has production access. When your account has production * access, you can send email to any address. The sending quota and maximum sending rate for your account vary based * on your specific use case. *

*/ private Boolean productionAccessEnabled; /** *

* An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint * account in the current AWS Region. *

* * @param sendQuota * An object that contains information about the per-day and per-second sending limits for your Amazon * Pinpoint account in the current AWS Region. */ public void setSendQuota(SendQuota sendQuota) { this.sendQuota = sendQuota; } /** *

* An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint * account in the current AWS Region. *

* * @return An object that contains information about the per-day and per-second sending limits for your Amazon * Pinpoint account in the current AWS Region. */ public SendQuota getSendQuota() { return this.sendQuota; } /** *

* An object that contains information about the per-day and per-second sending limits for your Amazon Pinpoint * account in the current AWS Region. *

* * @param sendQuota * An object that contains information about the per-day and per-second sending limits for your Amazon * Pinpoint account in the current AWS Region. * @return Returns a reference to this object so that method calls can be chained together. */ public GetAccountResult withSendQuota(SendQuota sendQuota) { setSendQuota(sendQuota); return this; } /** *

* Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region. *

* * @param sendingEnabled * Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS * Region. */ public void setSendingEnabled(Boolean sendingEnabled) { this.sendingEnabled = sendingEnabled; } /** *

* Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region. *

* * @return Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS * Region. */ public Boolean getSendingEnabled() { return this.sendingEnabled; } /** *

* Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region. *

* * @param sendingEnabled * Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS * Region. * @return Returns a reference to this object so that method calls can be chained together. */ public GetAccountResult withSendingEnabled(Boolean sendingEnabled) { setSendingEnabled(sendingEnabled); return this; } /** *

* Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region. *

* * @return Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS * Region. */ public Boolean isSendingEnabled() { return this.sendingEnabled; } /** *

* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated * with your account. *

* * @param dedicatedIpAutoWarmupEnabled * Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are * associated with your account. */ public void setDedicatedIpAutoWarmupEnabled(Boolean dedicatedIpAutoWarmupEnabled) { this.dedicatedIpAutoWarmupEnabled = dedicatedIpAutoWarmupEnabled; } /** *

* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated * with your account. *

* * @return Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are * associated with your account. */ public Boolean getDedicatedIpAutoWarmupEnabled() { return this.dedicatedIpAutoWarmupEnabled; } /** *

* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated * with your account. *

* * @param dedicatedIpAutoWarmupEnabled * Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are * associated with your account. * @return Returns a reference to this object so that method calls can be chained together. */ public GetAccountResult withDedicatedIpAutoWarmupEnabled(Boolean dedicatedIpAutoWarmupEnabled) { setDedicatedIpAutoWarmupEnabled(dedicatedIpAutoWarmupEnabled); return this; } /** *

* Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated * with your account. *

* * @return Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are * associated with your account. */ public Boolean isDedicatedIpAutoWarmupEnabled() { return this.dedicatedIpAutoWarmupEnabled; } /** *

* The reputation status of your Amazon Pinpoint account. The status can be one of the following: *

* * * @param enforcementStatus * The reputation status of your Amazon Pinpoint account. The status can be one of the following:

*