@Generated(value="software.amazon.awssdk:codegen") public final class IdentityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
Information about an email identity.
Modifier and Type | Class and Description |
---|---|
static interface |
IdentityInfo.Builder |
Modifier and Type | Method and Description |
---|---|
static IdentityInfo.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identityName()
The address or domain of the identity.
|
IdentityType |
identityType()
The email identity type.
|
String |
identityTypeAsString()
The email identity type.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
sendingEnabled()
Indicates whether or not you can send email from the identity.
|
static Class<? extends IdentityInfo.Builder> |
serializableBuilderClass() |
IdentityInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public IdentityType identityType()
The email identity type. The identity type can be one of the following:
EMAIL_ADDRESS
– The identity is an email address.
DOMAIN
– The identity is a domain.
MANAGED_DOMAIN
– The identity is a domain that is managed by AWS.
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()
.
EMAIL_ADDRESS
– The identity is an email address.
DOMAIN
– The identity is a domain.
MANAGED_DOMAIN
– The identity is a domain that is managed by AWS.
IdentityType
public String identityTypeAsString()
The email identity type. The identity type can be one of the following:
EMAIL_ADDRESS
– The identity is an email address.
DOMAIN
– The identity is a domain.
MANAGED_DOMAIN
– The identity is a domain that is managed by AWS.
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()
.
EMAIL_ADDRESS
– The identity is an email address.
DOMAIN
– The identity is a domain.
MANAGED_DOMAIN
– The identity is a domain that is managed by AWS.
IdentityType
public String identityName()
The address or domain of the identity.
public Boolean sendingEnabled()
Indicates whether or not you can send email from the identity.
In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.
In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before you can send email from an identity, you have to demostrate that you own the identity, and that you authorize Amazon Pinpoint to send email from that identity.
public IdentityInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
public static IdentityInfo.Builder builder()
public static Class<? extends IdentityInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.