@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEmailIdentityPolicyRequest extends SesV2Request implements ToCopyableBuilder<UpdateEmailIdentityPolicyRequest.Builder,UpdateEmailIdentityPolicyRequest>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateEmailIdentityPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateEmailIdentityPolicyRequest.Builder |
builder() |
String |
emailIdentity()
The email identity.
|
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 UpdateEmailIdentityPolicyRequest.Builder> |
serializableBuilderClass() |
UpdateEmailIdentityPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String emailIdentity()
The email identity.
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 UpdateEmailIdentityPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateEmailIdentityPolicyRequest.Builder,UpdateEmailIdentityPolicyRequest>toBuilder in class SesV2Requestpublic static UpdateEmailIdentityPolicyRequest.Builder builder()
public static Class<? extends UpdateEmailIdentityPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.