@Generated(value="software.amazon.awssdk:codegen") public class DeleteIdentityPolicyRequest extends SESRequest implements ToCopyableBuilder<DeleteIdentityPolicyRequest.Builder,DeleteIdentityPolicyRequest>
Represents a request to delete a sending authorization policy 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.
Modifier and Type | Class and Description |
---|---|
static interface |
DeleteIdentityPolicyRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DeleteIdentityPolicyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
identity()
The identity that is associated with the policy that you want to delete.
|
String |
policyName()
The name of the policy to be deleted.
|
static Class<? extends DeleteIdentityPolicyRequest.Builder> |
serializableBuilderClass() |
DeleteIdentityPolicyRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public 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.
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 policyName()
The name of the policy to be deleted.
public DeleteIdentityPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeleteIdentityPolicyRequest.Builder,DeleteIdentityPolicyRequest>
toBuilder
in class SESRequest
public static DeleteIdentityPolicyRequest.Builder builder()
public static Class<? extends DeleteIdentityPolicyRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.