@Generated(value="software.amazon.awssdk:codegen") public final class GetIdentityPoliciesRequest extends SesRequest implements ToCopyableBuilder<GetIdentityPoliciesRequest.Builder,GetIdentityPoliciesRequest>
Represents a request to return the requested sending authorization policies 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 |
GetIdentityPoliciesRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetIdentityPoliciesRequest.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 for which the policies will be retrieved.
|
List<String> |
policyNames()
A list of the names of policies to be retrieved.
|
static Class<? extends GetIdentityPoliciesRequest.Builder> |
serializableBuilderClass() |
GetIdentityPoliciesRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String identity()
The identity for which the policies will be retrieved. 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 List<String> policyNames()
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do
not know the names of the policies that are attached to the identity, you can use
ListIdentityPolicies
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ListIdentityPolicies
.public GetIdentityPoliciesRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetIdentityPoliciesRequest.Builder,GetIdentityPoliciesRequest>
toBuilder
in class SesRequest
public static GetIdentityPoliciesRequest.Builder builder()
public static Class<? extends GetIdentityPoliciesRequest.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.