@Generated(value="software.amazon.awssdk:codegen") public final class CreateEmailIdentityPolicyRequest extends SesV2Request implements ToCopyableBuilder<CreateEmailIdentityPolicyRequest.Builder,CreateEmailIdentityPolicyRequest>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEmailIdentityPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateEmailIdentityPolicyRequest.Builder |
builder() |
String |
emailIdentity()
The email identity for which you want to create a policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The text of the policy in JSON format.
|
String |
policyName()
The name of the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEmailIdentityPolicyRequest.Builder> |
serializableBuilderClass() |
CreateEmailIdentityPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String emailIdentity()
The email identity for which you want to create a policy.
public String policyName()
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 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.
For information about the syntax of sending authorization policies, see the Amazon SES Developer Guide.
public CreateEmailIdentityPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEmailIdentityPolicyRequest.Builder,CreateEmailIdentityPolicyRequest>toBuilder in class SesV2Requestpublic static CreateEmailIdentityPolicyRequest.Builder builder()
public static Class<? extends CreateEmailIdentityPolicyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.