@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEmailIdentityPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to create 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 |
---|
CreateEmailIdentityPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
CreateEmailIdentityPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEmailIdentity()
The email identity.
|
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.
|
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.
|
CreateEmailIdentityPolicyRequest |
withEmailIdentity(String emailIdentity)
The email identity.
|
CreateEmailIdentityPolicyRequest |
withPolicy(String policy)
The text of the policy in JSON format.
|
CreateEmailIdentityPolicyRequest |
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.
emailIdentity
- The email identity.public String getEmailIdentity()
The email identity.
public CreateEmailIdentityPolicyRequest withEmailIdentity(String emailIdentity)
The email identity.
emailIdentity
- The email identity.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 CreateEmailIdentityPolicyRequest 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 CreateEmailIdentityPolicyRequest 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 CreateEmailIdentityPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()