CopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
, SdkBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
public static interface PutIdentityPolicyRequest.Builder extends CopyableBuilder<PutIdentityPolicyRequest.Builder,PutIdentityPolicyRequest>
Modifier and Type | Method | Description |
---|---|---|
PutIdentityPolicyRequest.Builder |
identity(String identity) |
The identity to which the policy will apply.
|
PutIdentityPolicyRequest.Builder |
policy(String policy) |
The text of the policy in JSON format.
|
PutIdentityPolicyRequest.Builder |
policyName(String policyName) |
The name of the policy.
|
copy
apply, build
PutIdentityPolicyRequest.Builder identity(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.
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.
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.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.