@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEmailIdentityPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
NOOP
Constructor and Description |
---|
UpdateEmailIdentityPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEmailIdentityPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEmailIdentity()
The email identity for which you want to update policy.
|
String |
getPolicy()
The text of the policy in JSON format.
|
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setEmailIdentity(String emailIdentity)
The email identity for which you want to update policy.
|
void |
setPolicy(String policy)
The text of the policy in JSON format.
|
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEmailIdentityPolicyRequest |
withEmailIdentity(String emailIdentity)
The email identity for which you want to update policy.
|
UpdateEmailIdentityPolicyRequest |
withPolicy(String policy)
The text of the policy in JSON format.
|
UpdateEmailIdentityPolicyRequest |
withPolicyName(String policyName)
The name of the policy.
|
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 setEmailIdentity(String emailIdentity)
The email identity for which you want to update policy.
emailIdentity
- The email identity for which you want to update policy.public String getEmailIdentity()
The email identity for which you want to update policy.
public UpdateEmailIdentityPolicyRequest withEmailIdentity(String emailIdentity)
The email identity for which you want to update policy.
emailIdentity
- The email identity for which you want to update policy.public void setPolicyName(String policyName)
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
policyName
- The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
public String getPolicyName()
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
public UpdateEmailIdentityPolicyRequest withPolicyName(String policyName)
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
policyName
- The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
public void setPolicy(String policy)
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
policy
- The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
public String getPolicy()
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
public UpdateEmailIdentityPolicyRequest withPolicy(String policy)
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
policy
- The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public UpdateEmailIdentityPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()