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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutIdentityPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutIdentityPolicyRequest.Builder |
policy(String policy)
The text of the policy in JSON format.
|
PutIdentityPolicyRequest.Builder |
policyName(String policyName)
The name of the policy.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutIdentityPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.