Struct aws_sdk_sesv2::operation::put_configuration_set_delivery_options::builders::PutConfigurationSetDeliveryOptionsFluentBuilder
source · pub struct PutConfigurationSetDeliveryOptionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to PutConfigurationSetDeliveryOptions
.
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
Implementations§
source§impl PutConfigurationSetDeliveryOptionsFluentBuilder
impl PutConfigurationSetDeliveryOptionsFluentBuilder
sourcepub fn as_input(&self) -> &PutConfigurationSetDeliveryOptionsInputBuilder
pub fn as_input(&self) -> &PutConfigurationSetDeliveryOptionsInputBuilder
Access the PutConfigurationSetDeliveryOptions as a reference.
sourcepub async fn send(
self
) -> Result<PutConfigurationSetDeliveryOptionsOutput, SdkError<PutConfigurationSetDeliveryOptionsError, HttpResponse>>
pub async fn send( self ) -> Result<PutConfigurationSetDeliveryOptionsOutput, SdkError<PutConfigurationSetDeliveryOptionsError, 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<PutConfigurationSetDeliveryOptionsOutput, PutConfigurationSetDeliveryOptionsError, Self>
pub fn customize( self ) -> CustomizableOperation<PutConfigurationSetDeliveryOptionsOutput, PutConfigurationSetDeliveryOptionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn configuration_set_name(self, input: impl Into<String>) -> Self
pub fn configuration_set_name(self, input: impl Into<String>) -> Self
The name of the configuration set to associate with a dedicated IP pool.
sourcepub fn set_configuration_set_name(self, input: Option<String>) -> Self
pub fn set_configuration_set_name(self, input: Option<String>) -> Self
The name of the configuration set to associate with a dedicated IP pool.
sourcepub fn get_configuration_set_name(&self) -> &Option<String>
pub fn get_configuration_set_name(&self) -> &Option<String>
The name of the configuration set to associate with a dedicated IP pool.
sourcepub fn tls_policy(self, input: TlsPolicy) -> Self
pub fn tls_policy(self, input: TlsPolicy) -> Self
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require
, messages are only delivered if a TLS connection can be established. If the value is Optional
, messages can be delivered in plain text if a TLS connection can't be established.
sourcepub fn set_tls_policy(self, input: Option<TlsPolicy>) -> Self
pub fn set_tls_policy(self, input: Option<TlsPolicy>) -> Self
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require
, messages are only delivered if a TLS connection can be established. If the value is Optional
, messages can be delivered in plain text if a TLS connection can't be established.
sourcepub fn get_tls_policy(&self) -> &Option<TlsPolicy>
pub fn get_tls_policy(&self) -> &Option<TlsPolicy>
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is Require
, messages are only delivered if a TLS connection can be established. If the value is Optional
, messages can be delivered in plain text if a TLS connection can't be established.
sourcepub fn sending_pool_name(self, input: impl Into<String>) -> Self
pub fn sending_pool_name(self, input: impl Into<String>) -> Self
The name of the dedicated IP pool to associate with the configuration set.
sourcepub fn set_sending_pool_name(self, input: Option<String>) -> Self
pub fn set_sending_pool_name(self, input: Option<String>) -> Self
The name of the dedicated IP pool to associate with the configuration set.
sourcepub fn get_sending_pool_name(&self) -> &Option<String>
pub fn get_sending_pool_name(&self) -> &Option<String>
The name of the dedicated IP pool to associate with the configuration set.
Trait Implementations§
source§impl Clone for PutConfigurationSetDeliveryOptionsFluentBuilder
impl Clone for PutConfigurationSetDeliveryOptionsFluentBuilder
source§fn clone(&self) -> PutConfigurationSetDeliveryOptionsFluentBuilder
fn clone(&self) -> PutConfigurationSetDeliveryOptionsFluentBuilder
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 PutConfigurationSetDeliveryOptionsFluentBuilder
impl !RefUnwindSafe for PutConfigurationSetDeliveryOptionsFluentBuilder
impl Send for PutConfigurationSetDeliveryOptionsFluentBuilder
impl Sync for PutConfigurationSetDeliveryOptionsFluentBuilder
impl Unpin for PutConfigurationSetDeliveryOptionsFluentBuilder
impl !UnwindSafe for PutConfigurationSetDeliveryOptionsFluentBuilder
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