public static interface PutIdentityPolicyRequest.Builder extends SESRequest.Builder, CopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
Modifier and Type | Method and Description |
---|---|
PutIdentityPolicyRequest.Builder |
identity(String identity)
The identity that the policy will apply to.
|
PutIdentityPolicyRequest.Builder |
policy(String policy)
The text of the policy in JSON format.
|
PutIdentityPolicyRequest.Builder |
policyName(String policyName)
The name of the policy.
|
PutIdentityPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutIdentityPolicyRequest.Builder identity(String identity)
The identity that the policy will apply to. 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.
identity
- The identity that the policy will apply to. 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.
PutIdentityPolicyRequest.Builder policyName(String policyName)
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
policyName
- The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
PutIdentityPolicyRequest.Builder policy(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.
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.
PutIdentityPolicyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.