public class UpdateAccountSendingEnabledRequest extends AmazonWebServiceRequest implements java.io.Serializable
Enables or disables email sending across your entire Amazon SES account in the current AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given AWS Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.
You can execute this operation no more than once per second.
Constructor and Description |
---|
UpdateAccountSendingEnabledRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Describes whether email sending is enabled or disabled for your Amazon
SES account in the current AWS Region.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Describes whether email sending is enabled or disabled for your Amazon
SES account in the current AWS Region.
|
void |
setEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for your Amazon
SES account in the current AWS Region.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateAccountSendingEnabledRequest |
withEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for your Amazon
SES account in the current AWS Region.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.Boolean isEnabled()
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
public java.lang.Boolean getEnabled()
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
public void setEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
enabled
- Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
public UpdateAccountSendingEnabledRequest withEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
Returns a reference to this object so that method calls can be chained together.
enabled
- Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.