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 ==
.impl StructuralPartialEq for DeliveryOptionsBuilder
Auto Trait Implementations§
impl Freeze for DeliveryOptionsBuilder
impl RefUnwindSafe for DeliveryOptionsBuilder
impl Send for DeliveryOptionsBuilder
impl Sync for DeliveryOptionsBuilder
impl Unpin for DeliveryOptionsBuilder
impl UnwindSafe for DeliveryOptionsBuilder
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