Struct aws_sdk_sesv2::operation::get_email_identity::builders::GetEmailIdentityOutputBuilder
source · #[non_exhaustive]pub struct GetEmailIdentityOutputBuilder { /* private fields */ }
Expand description
A builder for GetEmailIdentityOutput
.
Implementations§
source§impl GetEmailIdentityOutputBuilder
impl GetEmailIdentityOutputBuilder
sourcepub fn identity_type(self, input: IdentityType) -> Self
pub fn identity_type(self, input: IdentityType) -> Self
The email identity type. Note: the MANAGED_DOMAIN
identity type is not supported.
sourcepub fn set_identity_type(self, input: Option<IdentityType>) -> Self
pub fn set_identity_type(self, input: Option<IdentityType>) -> Self
The email identity type. Note: the MANAGED_DOMAIN
identity type is not supported.
sourcepub fn get_identity_type(&self) -> &Option<IdentityType>
pub fn get_identity_type(&self) -> &Option<IdentityType>
The email identity type. Note: the MANAGED_DOMAIN
identity type is not supported.
sourcepub fn feedback_forwarding_status(self, input: bool) -> Self
pub fn feedback_forwarding_status(self, input: bool) -> Self
The feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
sourcepub fn set_feedback_forwarding_status(self, input: Option<bool>) -> Self
pub fn set_feedback_forwarding_status(self, input: Option<bool>) -> Self
The feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
sourcepub fn get_feedback_forwarding_status(&self) -> &Option<bool>
pub fn get_feedback_forwarding_status(&self) -> &Option<bool>
The feedback forwarding configuration for the identity.
If the value is true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in the Return-Path
header of the original email.
You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
sourcepub fn verified_for_sending_status(self, input: bool) -> Self
pub fn verified_for_sending_status(self, input: bool) -> Self
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
sourcepub fn set_verified_for_sending_status(self, input: Option<bool>) -> Self
pub fn set_verified_for_sending_status(self, input: Option<bool>) -> Self
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
sourcepub fn get_verified_for_sending_status(&self) -> &Option<bool>
pub fn get_verified_for_sending_status(&self) -> &Option<bool>
Specifies whether or not the identity is verified. You can only send email from verified email addresses or domains. For more information about verifying identities, see the Amazon Pinpoint User Guide.
sourcepub fn dkim_attributes(self, input: DkimAttributes) -> Self
pub fn dkim_attributes(self, input: DkimAttributes) -> Self
An object that contains information about the DKIM attributes for the identity.
sourcepub fn set_dkim_attributes(self, input: Option<DkimAttributes>) -> Self
pub fn set_dkim_attributes(self, input: Option<DkimAttributes>) -> Self
An object that contains information about the DKIM attributes for the identity.
sourcepub fn get_dkim_attributes(&self) -> &Option<DkimAttributes>
pub fn get_dkim_attributes(&self) -> &Option<DkimAttributes>
An object that contains information about the DKIM attributes for the identity.
sourcepub fn mail_from_attributes(self, input: MailFromAttributes) -> Self
pub fn mail_from_attributes(self, input: MailFromAttributes) -> Self
An object that contains information about the Mail-From attributes for the email identity.
sourcepub fn set_mail_from_attributes(self, input: Option<MailFromAttributes>) -> Self
pub fn set_mail_from_attributes(self, input: Option<MailFromAttributes>) -> Self
An object that contains information about the Mail-From attributes for the email identity.
sourcepub fn get_mail_from_attributes(&self) -> &Option<MailFromAttributes>
pub fn get_mail_from_attributes(&self) -> &Option<MailFromAttributes>
An object that contains information about the Mail-From attributes for the email identity.
sourcepub fn policies(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn policies(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to policies
.
To override the contents of this collection use set_policies
.
A map of policy names to policies.
sourcepub fn set_policies(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_policies(self, input: Option<HashMap<String, String>>) -> Self
A map of policy names to policies.
sourcepub fn get_policies(&self) -> &Option<HashMap<String, String>>
pub fn get_policies(&self) -> &Option<HashMap<String, String>>
A map of policy names to policies.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An array of objects that define the tags (keys and values) that are associated with the email identity.
An array of objects that define the tags (keys and values) that are associated with the email identity.
An array of objects that define the tags (keys and values) that are associated with the email identity.
sourcepub fn configuration_set_name(self, input: impl Into<String>) -> Self
pub fn configuration_set_name(self, input: impl Into<String>) -> Self
The configuration set used by default when sending from this identity.
sourcepub fn set_configuration_set_name(self, input: Option<String>) -> Self
pub fn set_configuration_set_name(self, input: Option<String>) -> Self
The configuration set used by default when sending from this identity.
sourcepub fn get_configuration_set_name(&self) -> &Option<String>
pub fn get_configuration_set_name(&self) -> &Option<String>
The configuration set used by default when sending from this identity.
sourcepub fn verification_status(self, input: VerificationStatus) -> Self
pub fn verification_status(self, input: VerificationStatus) -> Self
The verification status of the identity. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the verification status of the identity. -
NOT_STARTED
– The verification process hasn't been initiated for the identity.
sourcepub fn set_verification_status(self, input: Option<VerificationStatus>) -> Self
pub fn set_verification_status(self, input: Option<VerificationStatus>) -> Self
The verification status of the identity. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the verification status of the identity. -
NOT_STARTED
– The verification process hasn't been initiated for the identity.
sourcepub fn get_verification_status(&self) -> &Option<VerificationStatus>
pub fn get_verification_status(&self) -> &Option<VerificationStatus>
The verification status of the identity. The status can be one of the following:
-
PENDING
– The verification process was initiated, but Amazon SES hasn't yet been able to verify the identity. -
SUCCESS
– The verification process completed successfully. -
FAILED
– The verification process failed. -
TEMPORARY_FAILURE
– A temporary issue is preventing Amazon SES from determining the verification status of the identity. -
NOT_STARTED
– The verification process hasn't been initiated for the identity.
sourcepub fn verification_info(self, input: VerificationInfo) -> Self
pub fn verification_info(self, input: VerificationInfo) -> Self
An object that contains additional information about the verification status for the identity.
sourcepub fn set_verification_info(self, input: Option<VerificationInfo>) -> Self
pub fn set_verification_info(self, input: Option<VerificationInfo>) -> Self
An object that contains additional information about the verification status for the identity.
sourcepub fn get_verification_info(&self) -> &Option<VerificationInfo>
pub fn get_verification_info(&self) -> &Option<VerificationInfo>
An object that contains additional information about the verification status for the identity.
sourcepub fn build(self) -> GetEmailIdentityOutput
pub fn build(self) -> GetEmailIdentityOutput
Consumes the builder and constructs a GetEmailIdentityOutput
.
Trait Implementations§
source§impl Clone for GetEmailIdentityOutputBuilder
impl Clone for GetEmailIdentityOutputBuilder
source§fn clone(&self) -> GetEmailIdentityOutputBuilder
fn clone(&self) -> GetEmailIdentityOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetEmailIdentityOutputBuilder
impl Default for GetEmailIdentityOutputBuilder
source§fn default() -> GetEmailIdentityOutputBuilder
fn default() -> GetEmailIdentityOutputBuilder
source§impl PartialEq for GetEmailIdentityOutputBuilder
impl PartialEq for GetEmailIdentityOutputBuilder
source§fn eq(&self, other: &GetEmailIdentityOutputBuilder) -> bool
fn eq(&self, other: &GetEmailIdentityOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetEmailIdentityOutputBuilder
Auto Trait Implementations§
impl Freeze for GetEmailIdentityOutputBuilder
impl RefUnwindSafe for GetEmailIdentityOutputBuilder
impl Send for GetEmailIdentityOutputBuilder
impl Sync for GetEmailIdentityOutputBuilder
impl Unpin for GetEmailIdentityOutputBuilder
impl UnwindSafe for GetEmailIdentityOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more