@Generated(value="software.amazon.awssdk:codegen") public class ListIdentityPoliciesRequest extends SESRequest implements ToCopyableBuilder<ListIdentityPoliciesRequest.Builder,ListIdentityPoliciesRequest>
Represents a request to return a list of sending authorization policies that are attached to 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 |
ListIdentityPoliciesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListIdentityPoliciesRequest.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 for which the policies will be listed.
|
static Class<? extends ListIdentityPoliciesRequest.Builder> |
serializableBuilderClass() |
ListIdentityPoliciesRequest.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 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.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListIdentityPoliciesRequest.Builder,ListIdentityPoliciesRequest>
toBuilder
in class SESRequest
public static ListIdentityPoliciesRequest.Builder builder()
public static Class<? extends ListIdentityPoliciesRequest.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.