@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAccountSendingAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to change the ability of your account to send email.
NOOP
Constructor and Description |
---|
PutAccountSendingAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
PutAccountSendingAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getSendingEnabled()
Enables or disables your account's ability to send email.
|
int |
hashCode() |
Boolean |
isSendingEnabled()
Enables or disables your account's ability to send email.
|
void |
setSendingEnabled(Boolean sendingEnabled)
Enables or disables your account's ability to send email.
|
String |
toString()
Returns a string representation of this object.
|
PutAccountSendingAttributesRequest |
withSendingEnabled(Boolean sendingEnabled)
Enables or disables your account's ability to send email.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSendingEnabled(Boolean sendingEnabled)
Enables or disables your account's ability to send email. Set to true
to enable email sending, or
set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
sendingEnabled
- Enables or disables your account's ability to send email. Set to true
to enable email
sending, or set to false
to disable email sending. If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
public Boolean getSendingEnabled()
Enables or disables your account's ability to send email. Set to true
to enable email sending, or
set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
true
to enable email
sending, or set to false
to disable email sending. If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
public PutAccountSendingAttributesRequest withSendingEnabled(Boolean sendingEnabled)
Enables or disables your account's ability to send email. Set to true
to enable email sending, or
set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
sendingEnabled
- Enables or disables your account's ability to send email. Set to true
to enable email
sending, or set to false
to disable email sending. If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
public Boolean isSendingEnabled()
Enables or disables your account's ability to send email. Set to true
to enable email sending, or
set to false
to disable email sending.
If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
true
to enable email
sending, or set to false
to disable email sending. If AWS paused your account's ability to send email, you can't use this operation to resume your account's ability to send email.
public String toString()
toString
in class Object
Object.toString()
public PutAccountSendingAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()