public class ListIdentityPoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of sending authorization policies that are attached to the
given identity (an email address or a domain). This API returns only a list.
If you want the actual policy content, you can use
GetIdentityPolicies
.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Constructor and Description |
---|
ListIdentityPoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
The identity that is associated with the policy for which the policies
will be listed.
|
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
The identity that is associated with the policy for which the policies
will be listed.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListIdentityPoliciesRequest |
withIdentity(java.lang.String identity)
The identity that is associated with the policy for which the policies
will be listed.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getIdentity()
The identity that is associated with the policy for which the policies
will be listed. 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.
The identity that is associated with the policy for which the
policies will be listed. 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 void setIdentity(java.lang.String identity)
The identity that is associated with the policy for which the policies
will be listed. 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 is associated with the policy for which the
policies will be listed. 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 ListIdentityPoliciesRequest withIdentity(java.lang.String identity)
The identity that is associated with the policy for which the policies
will be listed. 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 a reference to this object so that method calls can be chained together.
identity
-
The identity that is associated with the policy for which the
policies will be listed. 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.