@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 final 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 final String identityName()
The address or domain of the identity.
public final Boolean sendingEnabled()
Indicates whether or not you can send email from the identity.
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 SES to send email from that identity.
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 SES to send email from that identity.
public IdentityInfo.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
public static IdentityInfo.Builder builder()
public static Class<? extends IdentityInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.