Class IdentityInfo
- java.lang.Object
-
- software.amazon.awssdk.services.pinpointemail.model.IdentityInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
@Generated("software.amazon.awssdk:codegen") public final class IdentityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
Information about an email identity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIdentityInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentityInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringidentityName()The address or domain of the identity.IdentityTypeidentityType()The email identity type.StringidentityTypeAsString()The email identity type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()BooleansendingEnabled()Indicates whether or not you can send email from the identity.static Class<? extends IdentityInfo.Builder>serializableBuilderClass()IdentityInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
identityType
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,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- 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.
-
- See Also:
IdentityType
-
-
identityTypeAsString
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,
identityTypewill returnIdentityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromidentityTypeAsString().- Returns:
- 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.
-
- See Also:
IdentityType
-
-
identityName
public final String identityName()
The address or domain of the identity.
- Returns:
- The address or domain of the identity.
-
sendingEnabled
public final 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.
- Returns:
- 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.
-
toBuilder
public IdentityInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IdentityInfo.Builder,IdentityInfo>
-
builder
public static IdentityInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdentityInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-