Struct aws_sdk_sesv2::types::builders::ContactBuilder
source · #[non_exhaustive]pub struct ContactBuilder { /* private fields */ }Expand description
A builder for Contact.
Implementations§
source§impl ContactBuilder
impl ContactBuilder
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The contact's email address.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The contact's email address.
sourcepub fn topic_preferences(self, input: TopicPreference) -> Self
pub fn topic_preferences(self, input: TopicPreference) -> Self
Appends an item to topic_preferences.
To override the contents of this collection use set_topic_preferences.
The contact's preference for being opted-in to or opted-out of a topic.
sourcepub fn set_topic_preferences(self, input: Option<Vec<TopicPreference>>) -> Self
pub fn set_topic_preferences(self, input: Option<Vec<TopicPreference>>) -> Self
The contact's preference for being opted-in to or opted-out of a topic.
sourcepub fn topic_default_preferences(self, input: TopicPreference) -> Self
pub fn topic_default_preferences(self, input: TopicPreference) -> Self
Appends an item to topic_default_preferences.
To override the contents of this collection use set_topic_default_preferences.
The default topic preferences applied to the contact.
sourcepub fn set_topic_default_preferences(
self,
input: Option<Vec<TopicPreference>>
) -> Self
pub fn set_topic_default_preferences( self, input: Option<Vec<TopicPreference>> ) -> Self
The default topic preferences applied to the contact.
sourcepub fn unsubscribe_all(self, input: bool) -> Self
pub fn unsubscribe_all(self, input: bool) -> Self
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn set_unsubscribe_all(self, input: Option<bool>) -> Self
pub fn set_unsubscribe_all(self, input: Option<bool>) -> Self
A boolean value status noting if the contact is unsubscribed from all contact list topics.
sourcepub fn last_updated_timestamp(self, input: DateTime) -> Self
pub fn last_updated_timestamp(self, input: DateTime) -> Self
A timestamp noting the last time the contact's information was updated.
sourcepub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_timestamp(self, input: Option<DateTime>) -> Self
A timestamp noting the last time the contact's information was updated.
Trait Implementations§
source§impl Clone for ContactBuilder
impl Clone for ContactBuilder
source§fn clone(&self) -> ContactBuilder
fn clone(&self) -> ContactBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ContactBuilder
impl Debug for ContactBuilder
source§impl Default for ContactBuilder
impl Default for ContactBuilder
source§fn default() -> ContactBuilder
fn default() -> ContactBuilder
source§impl PartialEq<ContactBuilder> for ContactBuilder
impl PartialEq<ContactBuilder> for ContactBuilder
source§fn eq(&self, other: &ContactBuilder) -> bool
fn eq(&self, other: &ContactBuilder) -> bool
self and other values to be equal, and is used
by ==.