@Generated(value="software.amazon.awssdk:codegen") public final class GetEmailIdentityResponse extends SesV2Response implements ToCopyableBuilder<GetEmailIdentityResponse.Builder,GetEmailIdentityResponse>
Details about an email identity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetEmailIdentityResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetEmailIdentityResponse.Builder |
builder() |
DkimAttributes |
dkimAttributes()
An object that contains information about the DKIM attributes for the identity.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
feedbackForwardingStatus()
The feedback forwarding configuration for the identity.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasPolicies()
Returns true if the Policies property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
IdentityType |
identityType()
The email identity type.
|
String |
identityTypeAsString()
The email identity type.
|
MailFromAttributes |
mailFromAttributes()
An object that contains information about the Mail-From attributes for the email identity.
|
Map<String,String> |
policies()
A map of policy names to policies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEmailIdentityResponse.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An array of objects that define the tags (keys and values) that are associated with the email identity.
|
GetEmailIdentityResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Boolean |
verifiedForSendingStatus()
Specifies whether or not the identity is verified.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic IdentityType identityType()
The email identity type.
If the service returns an enum value that is not available in the current SDK version, identityType will
return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
identityTypeAsString().
IdentityTypepublic String identityTypeAsString()
The email identity type.
If the service returns an enum value that is not available in the current SDK version, identityType will
return IdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
identityTypeAsString().
IdentityTypepublic Boolean feedbackForwardingStatus()
The feedback forwarding configuration for the identity.
If the value is true, you receive email notifications when bounce or complaint events occur. These
notifications are sent to the address that you specified in the Return-Path header of the original
email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
If the value is true, you receive email notifications when bounce or complaint events occur.
These notifications are sent to the address that you specified in the Return-Path header of
the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
public Boolean verifiedForSendingStatus()
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
public DkimAttributes dkimAttributes()
An object that contains information about the DKIM attributes for the identity.
public MailFromAttributes mailFromAttributes()
An object that contains information about the Mail-From attributes for the email identity.
public boolean hasPolicies()
public Map<String,String> policies()
A map of policy names to policies.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPolicies() to see if a value was sent in this field.
public boolean hasTags()
public List<Tag> tags()
An array of objects that define the tags (keys and values) that are associated with the email identity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public GetEmailIdentityResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetEmailIdentityResponse.Builder,GetEmailIdentityResponse>toBuilder in class AwsResponsepublic static GetEmailIdentityResponse.Builder builder()
public static Class<? extends GetEmailIdentityResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.