#[non_exhaustive]pub struct GetContactOutputBuilder { /* private fields */ }Expand description
A builder for GetContactOutput.
Implementations§
source§impl GetContactOutputBuilder
impl GetContactOutputBuilder
sourcepub fn contact_list_name(self, input: impl Into<String>) -> Self
pub fn contact_list_name(self, input: impl Into<String>) -> Self
The name of the contact list to which the contact belongs.
sourcepub fn set_contact_list_name(self, input: Option<String>) -> Self
pub fn set_contact_list_name(self, input: Option<String>) -> Self
The name of the contact list to which the contact belongs.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The contact's email addres.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The contact's email addres.
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 attributes_data(self, input: impl Into<String>) -> Self
pub fn attributes_data(self, input: impl Into<String>) -> Self
The attribute data attached to a contact.
sourcepub fn set_attributes_data(self, input: Option<String>) -> Self
pub fn set_attributes_data(self, input: Option<String>) -> Self
The attribute data attached to a contact.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
A timestamp noting when the contact was created.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
A timestamp noting when the contact was created.
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.
sourcepub fn build(self) -> GetContactOutput
pub fn build(self) -> GetContactOutput
Consumes the builder and constructs a GetContactOutput.
Trait Implementations§
source§impl Clone for GetContactOutputBuilder
impl Clone for GetContactOutputBuilder
source§fn clone(&self) -> GetContactOutputBuilder
fn clone(&self) -> GetContactOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetContactOutputBuilder
impl Debug for GetContactOutputBuilder
source§impl Default for GetContactOutputBuilder
impl Default for GetContactOutputBuilder
source§fn default() -> GetContactOutputBuilder
fn default() -> GetContactOutputBuilder
source§impl PartialEq<GetContactOutputBuilder> for GetContactOutputBuilder
impl PartialEq<GetContactOutputBuilder> for GetContactOutputBuilder
source§fn eq(&self, other: &GetContactOutputBuilder) -> bool
fn eq(&self, other: &GetContactOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.