@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 SesV2Request
public static UpdateEmailIdentityPolicyRequest.Builder builder()
public static Class<? extends UpdateEmailIdentityPolicyRequest.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 © 2023. All rights reserved.