Struct aws_sdk_sesv2::types::builders::VerificationInfoBuilder
source · #[non_exhaustive]pub struct VerificationInfoBuilder { /* private fields */ }Expand description
A builder for VerificationInfo.
Implementations§
source§impl VerificationInfoBuilder
impl VerificationInfoBuilder
sourcepub fn last_checked_timestamp(self, input: DateTime) -> Self
pub fn last_checked_timestamp(self, input: DateTime) -> Self
The last time a verification attempt was made for this identity.
sourcepub fn set_last_checked_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_checked_timestamp(self, input: Option<DateTime>) -> Self
The last time a verification attempt was made for this identity.
sourcepub fn get_last_checked_timestamp(&self) -> &Option<DateTime>
pub fn get_last_checked_timestamp(&self) -> &Option<DateTime>
The last time a verification attempt was made for this identity.
sourcepub fn last_success_timestamp(self, input: DateTime) -> Self
pub fn last_success_timestamp(self, input: DateTime) -> Self
The last time a successful verification was made for this identity.
sourcepub fn set_last_success_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_success_timestamp(self, input: Option<DateTime>) -> Self
The last time a successful verification was made for this identity.
sourcepub fn get_last_success_timestamp(&self) -> &Option<DateTime>
pub fn get_last_success_timestamp(&self) -> &Option<DateTime>
The last time a successful verification was made for this identity.
sourcepub fn error_type(self, input: VerificationError) -> Self
pub fn error_type(self, input: VerificationError) -> Self
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.
sourcepub fn set_error_type(self, input: Option<VerificationError>) -> Self
pub fn set_error_type(self, input: Option<VerificationError>) -> Self
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.
sourcepub fn get_error_type(&self) -> &Option<VerificationError>
pub fn get_error_type(&self) -> &Option<VerificationError>
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.
sourcepub fn soa_record(self, input: SoaRecord) -> Self
pub fn soa_record(self, input: SoaRecord) -> Self
An object that contains information about the start of authority (SOA) record associated with the identity.
sourcepub fn set_soa_record(self, input: Option<SoaRecord>) -> Self
pub fn set_soa_record(self, input: Option<SoaRecord>) -> Self
An object that contains information about the start of authority (SOA) record associated with the identity.
sourcepub fn get_soa_record(&self) -> &Option<SoaRecord>
pub fn get_soa_record(&self) -> &Option<SoaRecord>
An object that contains information about the start of authority (SOA) record associated with the identity.
sourcepub fn build(self) -> VerificationInfo
pub fn build(self) -> VerificationInfo
Consumes the builder and constructs a VerificationInfo.
Trait Implementations§
source§impl Clone for VerificationInfoBuilder
impl Clone for VerificationInfoBuilder
source§fn clone(&self) -> VerificationInfoBuilder
fn clone(&self) -> VerificationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VerificationInfoBuilder
impl Debug for VerificationInfoBuilder
source§impl Default for VerificationInfoBuilder
impl Default for VerificationInfoBuilder
source§fn default() -> VerificationInfoBuilder
fn default() -> VerificationInfoBuilder
source§impl PartialEq for VerificationInfoBuilder
impl PartialEq for VerificationInfoBuilder
source§fn eq(&self, other: &VerificationInfoBuilder) -> bool
fn eq(&self, other: &VerificationInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.