Struct aws_sdk_ses::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 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 ==
.