@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIdentityPoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents a request to return the requested sending authorization policies for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
NOOP
Constructor and Description |
---|
GetIdentityPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
GetIdentityPoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentity()
The identity for which the policies will be retrieved.
|
List<String> |
getPolicyNames()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetIdentityPoliciesRequest |
withIdentity(String identity)
The identity for which the policies will be retrieved.
|
GetIdentityPoliciesRequest |
withPolicyNames(Collection<String> policyNames)
A list of the names of policies to be retrieved.
|
GetIdentityPoliciesRequest |
withPolicyNames(String... policyNames)
A list of the names of policies to be retrieved.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentity(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.
public String 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.
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.
public GetIdentityPoliciesRequest withIdentity(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.
public List<String> 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
.
ListIdentityPolicies
.public void setPolicyNames(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
.public GetIdentityPoliciesRequest withPolicyNames(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
.public GetIdentityPoliciesRequest withPolicyNames(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
.public String toString()
toString
in class Object
Object.toString()
public GetIdentityPoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.