CopyableBuilder<GetIdentityPoliciesRequest.Builder,GetIdentityPoliciesRequest>, SdkBuilder<GetIdentityPoliciesRequest.Builder,GetIdentityPoliciesRequest>public static interface GetIdentityPoliciesRequest.Builder extends CopyableBuilder<GetIdentityPoliciesRequest.Builder,GetIdentityPoliciesRequest>
| Modifier and Type | Method | Description |
|---|---|---|
GetIdentityPoliciesRequest.Builder |
identity(String identity) |
The identity for which the policies will be retrieved.
|
GetIdentityPoliciesRequest.Builder |
policyNames(String... policyNames) |
A list of the names of policies to be retrieved.
|
GetIdentityPoliciesRequest.Builder |
policyNames(Collection<String> policyNames) |
A list of the names of policies to be retrieved.
|
copyapply, buildGetIdentityPoliciesRequest.Builder identity(String identity)
The identity for which the policies will be retrieved. 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 for which the policies will be retrieved. 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.
GetIdentityPoliciesRequest.Builder policyNames(Collection<String> policyNames)
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you
do not know the names of the policies that are attached to the identity, you can use
ListIdentityPolicies.
policyNames - A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time.
If you do not know the names of the policies that are attached to the identity, you can use
ListIdentityPolicies.GetIdentityPoliciesRequest.Builder policyNames(String... policyNames)
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you
do not know the names of the policies that are attached to the identity, you can use
ListIdentityPolicies.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicyNames(java.util.Collection) or #withPolicyNames(java.util.Collection) if you want
to override the existing values.
policyNames - A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time.
If you do not know the names of the policies that are attached to the identity, you can use
ListIdentityPolicies.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.