@Generated(value="software.amazon.awssdk:codegen") public final class GetSendQuotaResponse extends SesResponse implements ToCopyableBuilder<GetSendQuotaResponse.Builder,GetSendQuotaResponse>
Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.
Modifier and Type | Class and Description |
---|---|
static interface |
GetSendQuotaResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetSendQuotaResponse.Builder |
builder() |
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() |
Double |
max24HourSend()
The maximum number of emails the user is allowed to send in a 24-hour interval.
|
Double |
maxSendRate()
The maximum number of emails that Amazon SES can accept from the user's account per second.
|
Double |
sentLast24Hours()
The number of emails sent during the previous 24 hours.
|
static Class<? extends GetSendQuotaResponse.Builder> |
serializableBuilderClass() |
GetSendQuotaResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
sdkHttpResponse
copy
public Double max24HourSend()
The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.
public Double maxSendRate()
The maximum number of emails that Amazon SES can accept from the user's account per second.
The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.
The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.
public Double sentLast24Hours()
The number of emails sent during the previous 24 hours.
public GetSendQuotaResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetSendQuotaResponse.Builder,GetSendQuotaResponse>
toBuilder
in class AwsResponse
public static GetSendQuotaResponse.Builder builder()
public static Class<? extends GetSendQuotaResponse.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.