Struct aws_sdk_sesv2::types::builders::DeliveryOptionsBuilder
source · #[non_exhaustive]pub struct DeliveryOptionsBuilder { /* private fields */ }Expand description
A builder for DeliveryOptions.
Implementations§
source§impl DeliveryOptionsBuilder
impl DeliveryOptionsBuilder
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.
sourcepub fn build(self) -> DeliveryOptions
pub fn build(self) -> DeliveryOptions
Consumes the builder and constructs a DeliveryOptions.
Trait Implementations§
source§impl Clone for DeliveryOptionsBuilder
impl Clone for DeliveryOptionsBuilder
source§fn clone(&self) -> DeliveryOptionsBuilder
fn clone(&self) -> DeliveryOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeliveryOptionsBuilder
impl Debug for DeliveryOptionsBuilder
source§impl Default for DeliveryOptionsBuilder
impl Default for DeliveryOptionsBuilder
source§fn default() -> DeliveryOptionsBuilder
fn default() -> DeliveryOptionsBuilder
source§impl PartialEq for DeliveryOptionsBuilder
impl PartialEq for DeliveryOptionsBuilder
source§fn eq(&self, other: &DeliveryOptionsBuilder) -> bool
fn eq(&self, other: &DeliveryOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.