Struct aws_sdk_ses::types::builders::DestinationBuilder
source · #[non_exhaustive]pub struct DestinationBuilder { /* private fields */ }
Expand description
A builder for Destination
.
Implementations§
source§impl DestinationBuilder
impl DestinationBuilder
sourcepub fn to_addresses(self, input: impl Into<String>) -> Self
pub fn to_addresses(self, input: impl Into<String>) -> Self
Appends an item to to_addresses
.
To override the contents of this collection use set_to_addresses
.
The recipients to place on the To: line of the message.
sourcepub fn set_to_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_to_addresses(self, input: Option<Vec<String>>) -> Self
The recipients to place on the To: line of the message.
sourcepub fn get_to_addresses(&self) -> &Option<Vec<String>>
pub fn get_to_addresses(&self) -> &Option<Vec<String>>
The recipients to place on the To: line of the message.
sourcepub fn cc_addresses(self, input: impl Into<String>) -> Self
pub fn cc_addresses(self, input: impl Into<String>) -> Self
Appends an item to cc_addresses
.
To override the contents of this collection use set_cc_addresses
.
The recipients to place on the CC: line of the message.
sourcepub fn set_cc_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_cc_addresses(self, input: Option<Vec<String>>) -> Self
The recipients to place on the CC: line of the message.
sourcepub fn get_cc_addresses(&self) -> &Option<Vec<String>>
pub fn get_cc_addresses(&self) -> &Option<Vec<String>>
The recipients to place on the CC: line of the message.
sourcepub fn bcc_addresses(self, input: impl Into<String>) -> Self
pub fn bcc_addresses(self, input: impl Into<String>) -> Self
Appends an item to bcc_addresses
.
To override the contents of this collection use set_bcc_addresses
.
The recipients to place on the BCC: line of the message.
sourcepub fn set_bcc_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_bcc_addresses(self, input: Option<Vec<String>>) -> Self
The recipients to place on the BCC: line of the message.
sourcepub fn get_bcc_addresses(&self) -> &Option<Vec<String>>
pub fn get_bcc_addresses(&self) -> &Option<Vec<String>>
The recipients to place on the BCC: line of the message.
sourcepub fn build(self) -> Destination
pub fn build(self) -> Destination
Consumes the builder and constructs a Destination
.
Trait Implementations§
source§impl Clone for DestinationBuilder
impl Clone for DestinationBuilder
source§fn clone(&self) -> DestinationBuilder
fn clone(&self) -> DestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DestinationBuilder
impl Debug for DestinationBuilder
source§impl Default for DestinationBuilder
impl Default for DestinationBuilder
source§fn default() -> DestinationBuilder
fn default() -> DestinationBuilder
source§impl PartialEq for DestinationBuilder
impl PartialEq for DestinationBuilder
source§fn eq(&self, other: &DestinationBuilder) -> bool
fn eq(&self, other: &DestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.