@Generated(value="software.amazon.awssdk:codegen") public final class GetAccountResponse extends PinpointEmailResponse implements ToCopyableBuilder<GetAccountResponse.Builder,GetAccountResponse>
A list of details about the email-sending capabilities of your Amazon Pinpoint account in the current AWS Region.
Modifier and Type | Class and Description |
---|---|
static interface |
GetAccountResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetAccountResponse.Builder |
builder() |
Boolean |
dedicatedIpAutoWarmupEnabled()
Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated
with your account.
|
String |
enforcementStatus()
The reputation status of your Amazon Pinpoint account.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
Boolean |
productionAccessEnabled()
Indicates whether or not your account has production access in the current AWS Region.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
sendingEnabled()
Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.
|
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.
|
static Class<? extends GetAccountResponse.Builder> |
serializableBuilderClass() |
GetAccountResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
responseMetadata
sdkHttpResponse
copy
public 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.
public Boolean sendingEnabled()
Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the current AWS Region.
public Boolean dedicatedIpAutoWarmupEnabled()
Indicates whether or not the automatic warm-up feature is enabled for dedicated IP addresses that are associated with your account.
public String enforcementStatus()
The reputation status of your Amazon Pinpoint account. The status can be one of the following:
HEALTHY
– There are no reputation-related issues that currently impact your account.
PROBATION
– We've identified some issues with your Amazon Pinpoint account. We're placing your
account under review while you work on correcting these issues.
SHUTDOWN
– Your account's ability to send email is currently paused because of an issue with the
email sent from your account. When you correct the issue, you can contact us and request that your account's
ability to send email is resumed.
HEALTHY
– There are no reputation-related issues that currently impact your account.
PROBATION
– We've identified some issues with your Amazon Pinpoint account. We're placing
your account under review while you work on correcting these issues.
SHUTDOWN
– Your account's ability to send email is currently paused because of an issue with
the email sent from your account. When you correct the issue, you can contact us and request that your
account's ability to send email is resumed.
public Boolean productionAccessEnabled()
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.
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.
public GetAccountResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetAccountResponse.Builder,GetAccountResponse>
toBuilder
in class AwsResponse
public static GetAccountResponse.Builder builder()
public static Class<? extends GetAccountResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.