Class GetIdentityPoliciesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identity for which the policies will be retrieved.A list of the names of policies to be retrieved.int
hashCode()
void
setIdentity
(String identity) The identity for which the policies will be retrieved.void
setPolicyNames
(Collection<String> policyNames) A list of the names of policies to be retrieved.toString()
Returns a string representation of this object; useful for testing and debugging.withIdentity
(String identity) The identity for which the policies will be retrieved.withPolicyNames
(String... policyNames) A list of the names of policies to be retrieved.withPolicyNames
(Collection<String> policyNames) A list of the names of policies to be retrieved.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GetIdentityPoliciesRequest
public GetIdentityPoliciesRequest()
-
-
Method Details
-
setIdentity
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.
- Parameters:
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.
-
getIdentity
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.
- Returns:
- 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.
-
withIdentity
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyNames
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
.- Returns:
- 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
.
-
setPolicyNames
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
.- Parameters:
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 useListIdentityPolicies
.
-
withPolicyNames
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)
orwithPolicyNames(java.util.Collection)
if you want to override the existing values.- Parameters:
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 useListIdentityPolicies
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyNames
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
.- Parameters:
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 useListIdentityPolicies
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-