Class VerificationInfo
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.VerificationInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VerificationInfo.Builder,VerificationInfo>
@Generated("software.amazon.awssdk:codegen") public final class VerificationInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VerificationInfo.Builder,VerificationInfo>
An object that contains additional information about the verification status for the identity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVerificationInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerificationInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)VerificationErrorerrorType()Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity.StringerrorTypeAsString()Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastCheckedTimestamp()The last time a verification attempt was made for this identity.InstantlastSuccessTimestamp()The last time a successful verification was made for this identity.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends VerificationInfo.Builder>serializableBuilderClass()SOARecordsoaRecord()An object that contains information about the start of authority (SOA) record associated with the identity.VerificationInfo.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
-
lastCheckedTimestamp
public final Instant lastCheckedTimestamp()
The last time a verification attempt was made for this identity.
- Returns:
- The last time a verification attempt was made for this identity.
-
lastSuccessTimestamp
public final Instant lastSuccessTimestamp()
The last time a successful verification was made for this identity.
- Returns:
- The last time a successful verification was made for this identity.
-
errorType
public final VerificationError errorType()
Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request. -
REPLICATION_ACCESS_DENIED– The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. -
REPLICATION_PRIMARY_NOT_FOUND– The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. -
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED– The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. -
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED– The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. -
REPLICATION_PRIMARY_INVALID_REGION– The verification failed due to an invalid primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different from the replica region.
If the service returns an enum value that is not available in the current SDK version,
errorTypewill returnVerificationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorTypeAsString().- Returns:
- Provides the reason for the failure describing why Amazon SES was not able to successfully verify the
identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request. -
REPLICATION_ACCESS_DENIED– The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. -
REPLICATION_PRIMARY_NOT_FOUND– The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. -
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED– The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. -
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED– The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. -
REPLICATION_PRIMARY_INVALID_REGION– The verification failed due to an invalid primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different from the replica region.
-
- See Also:
VerificationError
-
-
errorTypeAsString
public final String errorTypeAsString()
Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request. -
REPLICATION_ACCESS_DENIED– The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. -
REPLICATION_PRIMARY_NOT_FOUND– The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. -
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED– The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. -
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED– The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. -
REPLICATION_PRIMARY_INVALID_REGION– The verification failed due to an invalid primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different from the replica region.
If the service returns an enum value that is not available in the current SDK version,
errorTypewill returnVerificationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorTypeAsString().- Returns:
- Provides the reason for the failure describing why Amazon SES was not able to successfully verify the
identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request. -
REPLICATION_ACCESS_DENIED– The verification failed because the user does not have the required permissions to replicate the DKIM key from the primary region. Ensure you have the necessary permissions in both primary and replica regions. -
REPLICATION_PRIMARY_NOT_FOUND– The verification failed because no corresponding identity was found in the specified primary region. Ensure the identity exists in the primary region before attempting replication. -
REPLICATION_PRIMARY_BYO_DKIM_NOT_SUPPORTED– The verification failed because the identity in the primary region is configured with Bring Your Own DKIM (BYODKIM). DKIM key replication is only supported for identities using Easy DKIM. -
REPLICATION_REPLICA_AS_PRIMARY_NOT_SUPPORTED– The verification failed because the specified primary identity is a replica of another identity, and multi-level replication is not supported; the primary identity must be a non-replica identity. -
REPLICATION_PRIMARY_INVALID_REGION– The verification failed due to an invalid primary region specified. Ensure you provide a valid Amazon Web Services region where Amazon SES is available and different from the replica region.
-
- See Also:
VerificationError
-
-
soaRecord
public final SOARecord soaRecord()
An object that contains information about the start of authority (SOA) record associated with the identity.
- Returns:
- An object that contains information about the start of authority (SOA) record associated with the identity.
-
toBuilder
public VerificationInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VerificationInfo.Builder,VerificationInfo>
-
builder
public static VerificationInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends VerificationInfo.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
-
-