@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String emailIdentity()
The email identity for which you want to create a policy.
public final 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 final 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 SesV2Request
public static CreateEmailIdentityPolicyRequest.Builder builder()
public static Class<? extends CreateEmailIdentityPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2021. All rights reserved.