Cloneable
, ReadLimitInfo
, ToCopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public class PutIdentityPolicyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
Represents a request to add or 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 | Description |
---|---|---|
static interface |
PutIdentityPolicyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static PutIdentityPolicyRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
identity() |
The identity to which the policy will apply.
|
String |
policy() |
The text of the policy in JSON format.
|
String |
policyName() |
The name of the policy.
|
static Class<? extends PutIdentityPolicyRequest.Builder> |
serializableBuilderClass() |
|
PutIdentityPolicyRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String identity()
The identity to which the policy will apply. You can specify an identity by using its name or by using its Amazon
Resource Name (ARN). Examples: user@example.com
, example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
user@example.com
, example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
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 PutIdentityPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
public static PutIdentityPolicyRequest.Builder builder()
public static Class<? extends PutIdentityPolicyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.