Struct aws_sdk_connect::types::builders::ContactDataRequestBuilder
source · #[non_exhaustive]pub struct ContactDataRequestBuilder { /* private fields */ }
Expand description
A builder for ContactDataRequest
.
Implementations§
source§impl ContactDataRequestBuilder
impl ContactDataRequestBuilder
sourcepub fn system_endpoint(self, input: Endpoint) -> Self
pub fn system_endpoint(self, input: Endpoint) -> Self
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
sourcepub fn set_system_endpoint(self, input: Option<Endpoint>) -> Self
pub fn set_system_endpoint(self, input: Option<Endpoint>) -> Self
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
sourcepub fn get_system_endpoint(&self) -> &Option<Endpoint>
pub fn get_system_endpoint(&self) -> &Option<Endpoint>
Endpoint associated with the Amazon Connect instance from which outbound contact will be initiated for the campaign.
sourcepub fn customer_endpoint(self, input: Endpoint) -> Self
pub fn customer_endpoint(self, input: Endpoint) -> Self
Endpoint of the customer for which contact will be initiated.
sourcepub fn set_customer_endpoint(self, input: Option<Endpoint>) -> Self
pub fn set_customer_endpoint(self, input: Option<Endpoint>) -> Self
Endpoint of the customer for which contact will be initiated.
sourcepub fn get_customer_endpoint(&self) -> &Option<Endpoint>
pub fn get_customer_endpoint(&self) -> &Option<Endpoint>
Endpoint of the customer for which contact will be initiated.
sourcepub fn request_identifier(self, input: impl Into<String>) -> Self
pub fn request_identifier(self, input: impl Into<String>) -> Self
Identifier to uniquely identify individual requests in the batch.
sourcepub fn set_request_identifier(self, input: Option<String>) -> Self
pub fn set_request_identifier(self, input: Option<String>) -> Self
Identifier to uniquely identify individual requests in the batch.
sourcepub fn get_request_identifier(&self) -> &Option<String>
pub fn get_request_identifier(&self) -> &Option<String>
Identifier to uniquely identify individual requests in the batch.
sourcepub fn queue_id(self, input: impl Into<String>) -> Self
pub fn queue_id(self, input: impl Into<String>) -> Self
The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The identifier of the queue associated with the Amazon Connect instance in which contacts that are created will be queued.
sourcepub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn attributes(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to attributes
.
To override the contents of this collection use set_attributes
.
List of attributes to be stored in a contact.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
List of attributes to be stored in a contact.
sourcepub fn get_attributes(&self) -> &Option<HashMap<String, String>>
pub fn get_attributes(&self) -> &Option<HashMap<String, String>>
List of attributes to be stored in a contact.
sourcepub fn campaign(self, input: Campaign) -> Self
pub fn campaign(self, input: Campaign) -> Self
Structure to store information associated with a campaign.
sourcepub fn set_campaign(self, input: Option<Campaign>) -> Self
pub fn set_campaign(self, input: Option<Campaign>) -> Self
Structure to store information associated with a campaign.
sourcepub fn get_campaign(&self) -> &Option<Campaign>
pub fn get_campaign(&self) -> &Option<Campaign>
Structure to store information associated with a campaign.
sourcepub fn build(self) -> ContactDataRequest
pub fn build(self) -> ContactDataRequest
Consumes the builder and constructs a ContactDataRequest
.
Trait Implementations§
source§impl Clone for ContactDataRequestBuilder
impl Clone for ContactDataRequestBuilder
source§fn clone(&self) -> ContactDataRequestBuilder
fn clone(&self) -> ContactDataRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContactDataRequestBuilder
impl Debug for ContactDataRequestBuilder
source§impl Default for ContactDataRequestBuilder
impl Default for ContactDataRequestBuilder
source§fn default() -> ContactDataRequestBuilder
fn default() -> ContactDataRequestBuilder
source§impl PartialEq for ContactDataRequestBuilder
impl PartialEq for ContactDataRequestBuilder
source§fn eq(&self, other: &ContactDataRequestBuilder) -> bool
fn eq(&self, other: &ContactDataRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.