public class UpdateConfigurationSetSendingEnabledRequest extends AmazonWebServiceRequest implements java.io.Serializable
Enables or disables email sending for messages sent using a specific configuration set in a given AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.
You can execute this operation no more than once per second.
Constructor and Description |
---|
UpdateConfigurationSetSendingEnabledRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getConfigurationSetName()
The name of the configuration set that you want to update.
|
java.lang.Boolean |
getEnabled()
Describes whether email sending is enabled or disabled for the
configuration set.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Describes whether email sending is enabled or disabled for the
configuration set.
|
void |
setConfigurationSetName(java.lang.String configurationSetName)
The name of the configuration set that you want to update.
|
void |
setEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for the
configuration set.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateConfigurationSetSendingEnabledRequest |
withConfigurationSetName(java.lang.String configurationSetName)
The name of the configuration set that you want to update.
|
UpdateConfigurationSetSendingEnabledRequest |
withEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for the
configuration set.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateConfigurationSetSendingEnabledRequest()
public java.lang.String getConfigurationSetName()
The name of the configuration set that you want to update.
The name of the configuration set that you want to update.
public void setConfigurationSetName(java.lang.String configurationSetName)
The name of the configuration set that you want to update.
configurationSetName
- The name of the configuration set that you want to update.
public UpdateConfigurationSetSendingEnabledRequest withConfigurationSetName(java.lang.String configurationSetName)
The name of the configuration set that you want to update.
Returns a reference to this object so that method calls can be chained together.
configurationSetName
- The name of the configuration set that you want to update.
public java.lang.Boolean isEnabled()
Describes whether email sending is enabled or disabled for the configuration set.
Describes whether email sending is enabled or disabled for the configuration set.
public java.lang.Boolean getEnabled()
Describes whether email sending is enabled or disabled for the configuration set.
Describes whether email sending is enabled or disabled for the configuration set.
public void setEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for the configuration set.
enabled
- Describes whether email sending is enabled or disabled for the configuration set.
public UpdateConfigurationSetSendingEnabledRequest withEnabled(java.lang.Boolean enabled)
Describes whether email sending is enabled or disabled for the configuration set.
Returns a reference to this object so that method calls can be chained together.
enabled
- Describes whether email sending is enabled or disabled for the configuration set.
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.