Interface VerificationInfo.Builder

  • Method Details

    • lastCheckedTimestamp

      VerificationInfo.Builder lastCheckedTimestamp(Instant lastCheckedTimestamp)

      The last time a verification attempt was made for this identity.

      Parameters:
      lastCheckedTimestamp - The last time a verification attempt was made for this identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastSuccessTimestamp

      VerificationInfo.Builder lastSuccessTimestamp(Instant lastSuccessTimestamp)

      The last time a successful verification was made for this identity.

      Parameters:
      lastSuccessTimestamp - The last time a successful verification was made for this identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorType

      VerificationInfo.Builder errorType(String 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • soaRecord

      VerificationInfo.Builder soaRecord(SOARecord soaRecord)

      An object that contains information about the start of authority (SOA) record associated with the identity.

      Parameters:
      soaRecord - An object that contains information about the start of authority (SOA) record associated with the identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • soaRecord

      default VerificationInfo.Builder soaRecord(Consumer<SOARecord.Builder> soaRecord)

      An object that contains information about the start of authority (SOA) record associated with the identity.

      This is a convenience method that creates an instance of the SOARecord.Builder avoiding the need to create one manually via SOARecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to soaRecord(SOARecord).

      Parameters:
      soaRecord - a consumer that will call methods on SOARecord.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: