public class DeleteIdentityPolicyRequest extends AmazonWebServiceRequest implements java.io.Serializable
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
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 |
---|
DeleteIdentityPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentity()
The identity that is associated with the policy that you want to delete.
|
java.lang.String |
getPolicyName()
The name of the policy to be deleted.
|
int |
hashCode() |
void |
setIdentity(java.lang.String identity)
The identity that is associated with the policy that you want to delete.
|
void |
setPolicyName(java.lang.String policyName)
The name of the policy to be deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteIdentityPolicyRequest |
withIdentity(java.lang.String identity)
The identity that is associated with the policy that you want to delete.
|
DeleteIdentityPolicyRequest |
withPolicyName(java.lang.String policyName)
The name of the policy to be deleted.
|
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 that you want to delete.
You can specify the 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 that you want to
delete. You can specify the 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 that you want to delete.
You can specify the 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 that you want
to delete. You can specify the 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 DeleteIdentityPolicyRequest withIdentity(java.lang.String 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: 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 that you want
to delete. You can specify the 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 getPolicyName()
The name of the policy to be deleted.
Constraints:
Length: 1 - 64
The name of the policy to be deleted.
public void setPolicyName(java.lang.String policyName)
The name of the policy to be deleted.
Constraints:
Length: 1 - 64
policyName
- The name of the policy to be deleted.
public DeleteIdentityPolicyRequest withPolicyName(java.lang.String policyName)
The name of the policy to be deleted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
policyName
- The name of the policy to be deleted.
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.