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 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 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 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 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 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.
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.
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 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 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<GetEmailIdentityOutputBuilder> for GetEmailIdentityOutputBuilder
impl PartialEq<GetEmailIdentityOutputBuilder> 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 ==.