@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VerificationInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VerificationInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
VerificationError |
errorType()
Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity.
|
String |
errorTypeAsString()
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) |
int |
hashCode() |
Instant |
lastCheckedTimestamp()
The last time a verification attempt was made for this identity.
|
Instant |
lastSuccessTimestamp()
The last time a successful verification was made for this identity.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VerificationInfo.Builder> |
serializableBuilderClass() |
SOARecord |
soaRecord()
An object that contains information about the start of authority (SOA) record associated with the identity.
|
VerificationInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant lastCheckedTimestamp()
The last time a verification attempt was made for this identity.
public final Instant lastSuccessTimestamp()
The last time a successful verification was made for this identity.
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.
If the service returns an enum value that is not available in the current SDK version, errorType will
return VerificationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorTypeAsString().
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.
VerificationErrorpublic 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.
If the service returns an enum value that is not available in the current SDK version, errorType will
return VerificationError.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorTypeAsString().
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.
VerificationErrorpublic final SOARecord soaRecord()
An object that contains information about the start of authority (SOA) record associated with the identity.
public VerificationInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VerificationInfo.Builder,VerificationInfo>public static VerificationInfo.Builder builder()
public static Class<? extends VerificationInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.