@Generated(value="software.amazon.awssdk:codegen") public final class GetEmailIdentityResponse extends PinpointEmailResponse 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 |
feedbackForwardingStatus()
The feedback forwarding configuration for the identity.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetEmailIdentityResponse.Builder> |
serializableBuilderClass() |
GetEmailIdentityResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Boolean |
verifiedForSendingStatus()
Specifies whether or not the identity is verified.
|
responseMetadata
sdkHttpResponse
copy
public 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()
.
IdentityType
public 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()
.
IdentityType
public Boolean feedbackForwardingStatus()
The feedback forwarding configuration for the identity.
If the value is true
, Amazon Pinpoint sends you email notifications when bounce or complaint events
occur. Amazon Pinpoint sends this notification to the address that you specified in the Return-Path header of the
original email.
When you set this value to false
, Amazon Pinpoint sends notifications through other mechanisms, such
as by notifying an Amazon SNS topic or another event destination. 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,
Amazon Pinpoint sends an email notification when these events occur (even if this setting is disabled).
If the value is true
, Amazon Pinpoint sends you email notifications when bounce or complaint
events occur. Amazon Pinpoint sends this notification to the address that you specified in the
Return-Path header of the original email.
When you set this value to false
, Amazon Pinpoint sends notifications through other
mechanisms, such as by notifying an Amazon SNS topic or another event destination. 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, Amazon Pinpoint sends an email notification when these events occur
(even if this setting is disabled).
public Boolean verifiedForSendingStatus()
Specifies whether or not the identity is verified. In Amazon Pinpoint, 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. This object includes the tokens that you use to create the CNAME records that are required to complete the DKIM verification process.
public MailFromAttributes mailFromAttributes()
An object that contains information about the Mail-From attributes for the email identity.
public GetEmailIdentityResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetEmailIdentityResponse.Builder,GetEmailIdentityResponse>
toBuilder
in class AwsResponse
public static GetEmailIdentityResponse.Builder builder()
public static Class<? extends GetEmailIdentityResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. 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 SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
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.