Struct aws_sdk_sesv2::operation::put_email_identity_dkim_attributes::builders::PutEmailIdentityDkimAttributesFluentBuilder
source · pub struct PutEmailIdentityDkimAttributesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutEmailIdentityDkimAttributes
.
Used to enable or disable DKIM authentication for an email identity.
Implementations§
source§impl PutEmailIdentityDkimAttributesFluentBuilder
impl PutEmailIdentityDkimAttributesFluentBuilder
sourcepub fn as_input(&self) -> &PutEmailIdentityDkimAttributesInputBuilder
pub fn as_input(&self) -> &PutEmailIdentityDkimAttributesInputBuilder
Access the PutEmailIdentityDkimAttributes as a reference.
sourcepub async fn send(
self
) -> Result<PutEmailIdentityDkimAttributesOutput, SdkError<PutEmailIdentityDkimAttributesError, HttpResponse>>
pub async fn send( self ) -> Result<PutEmailIdentityDkimAttributesOutput, SdkError<PutEmailIdentityDkimAttributesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<PutEmailIdentityDkimAttributesOutput, PutEmailIdentityDkimAttributesError, Self>
pub fn customize( self ) -> CustomizableOperation<PutEmailIdentityDkimAttributesOutput, PutEmailIdentityDkimAttributesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn email_identity(self, input: impl Into<String>) -> Self
pub fn email_identity(self, input: impl Into<String>) -> Self
The email identity.
sourcepub fn set_email_identity(self, input: Option<String>) -> Self
pub fn set_email_identity(self, input: Option<String>) -> Self
The email identity.
sourcepub fn get_email_identity(&self) -> &Option<String>
pub fn get_email_identity(&self) -> &Option<String>
The email identity.
sourcepub fn signing_enabled(self, input: bool) -> Self
pub fn signing_enabled(self, input: bool) -> Self
Sets the DKIM signing configuration for the identity.
When you set this value true
, then the messages that are sent from the identity are signed using DKIM. If you set this value to false
, your messages are sent without DKIM signing.
sourcepub fn set_signing_enabled(self, input: Option<bool>) -> Self
pub fn set_signing_enabled(self, input: Option<bool>) -> Self
Sets the DKIM signing configuration for the identity.
When you set this value true
, then the messages that are sent from the identity are signed using DKIM. If you set this value to false
, your messages are sent without DKIM signing.
sourcepub fn get_signing_enabled(&self) -> &Option<bool>
pub fn get_signing_enabled(&self) -> &Option<bool>
Sets the DKIM signing configuration for the identity.
When you set this value true
, then the messages that are sent from the identity are signed using DKIM. If you set this value to false
, your messages are sent without DKIM signing.
Trait Implementations§
source§impl Clone for PutEmailIdentityDkimAttributesFluentBuilder
impl Clone for PutEmailIdentityDkimAttributesFluentBuilder
source§fn clone(&self) -> PutEmailIdentityDkimAttributesFluentBuilder
fn clone(&self) -> PutEmailIdentityDkimAttributesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for PutEmailIdentityDkimAttributesFluentBuilder
impl !RefUnwindSafe for PutEmailIdentityDkimAttributesFluentBuilder
impl Send for PutEmailIdentityDkimAttributesFluentBuilder
impl Sync for PutEmailIdentityDkimAttributesFluentBuilder
impl Unpin for PutEmailIdentityDkimAttributesFluentBuilder
impl !UnwindSafe for PutEmailIdentityDkimAttributesFluentBuilder
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