public class DeleteIdentityPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteIdentityPolicy operation
.
Deletes the specified sending authorization policy for the given identity (email address or domain). This API returns successfully even if a policy with the specified name does not exist.
NOTE: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 .
This action is throttled at one request per second.
NOOP
Constructor and Description |
---|
DeleteIdentityPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteIdentityPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIdentity()
The identity that is associated with the policy that you want to
delete.
|
String |
getPolicyName()
The name of the policy to be deleted.
|
int |
hashCode() |
void |
setIdentity(String identity)
The identity that is associated with the policy that you want to
delete.
|
void |
setPolicyName(String policyName)
The name of the policy to be deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteIdentityPolicyRequest |
withIdentity(String identity)
The identity that is associated with the policy that you want to
delete.
|
DeleteIdentityPolicyRequest |
withPolicyName(String policyName)
The name of the policy to be deleted.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getIdentity()
[email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
[email protected]
,
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(String identity)
[email protected]
,
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 that you want to
delete. You can specify the identity by using its name or by using its
Amazon Resource Name (ARN). Examples: [email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
public DeleteIdentityPolicyRequest withIdentity(String identity)
[email protected]
,
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 that you want to
delete. You can specify the identity by using its name or by using its
Amazon Resource Name (ARN). Examples: [email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
To successfully call this API, you must own the identity.
public String getPolicyName()
Constraints:
Length: 1 - 64
Pattern: [^\\/\?\*\s]+
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 64
Pattern: [^\\/\?\*\s]+
policyName
- The name of the policy to be deleted.public DeleteIdentityPolicyRequest withPolicyName(String policyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [^\\/\?\*\s]+
policyName
- The name of the policy to be deleted.public String toString()
toString
in class Object
Object.toString()
public DeleteIdentityPolicyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.