#[non_exhaustive]pub struct BatchPutContactInputBuilder { /* private fields */ }
Expand description
A builder for BatchPutContactInput
.
Implementations§
source§impl BatchPutContactInputBuilder
impl BatchPutContactInputBuilder
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn contact_data_request_list(self, input: ContactDataRequest) -> Self
pub fn contact_data_request_list(self, input: ContactDataRequest) -> Self
Appends an item to contact_data_request_list
.
To override the contents of this collection use set_contact_data_request_list
.
List of individual contact requests.
sourcepub fn set_contact_data_request_list(
self,
input: Option<Vec<ContactDataRequest>>
) -> Self
pub fn set_contact_data_request_list( self, input: Option<Vec<ContactDataRequest>> ) -> Self
List of individual contact requests.
sourcepub fn get_contact_data_request_list(&self) -> &Option<Vec<ContactDataRequest>>
pub fn get_contact_data_request_list(&self) -> &Option<Vec<ContactDataRequest>>
List of individual contact requests.
sourcepub fn build(self) -> Result<BatchPutContactInput, BuildError>
pub fn build(self) -> Result<BatchPutContactInput, BuildError>
Consumes the builder and constructs a BatchPutContactInput
.
source§impl BatchPutContactInputBuilder
impl BatchPutContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchPutContactOutput, SdkError<BatchPutContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchPutContactOutput, SdkError<BatchPutContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchPutContactInputBuilder
impl Clone for BatchPutContactInputBuilder
source§fn clone(&self) -> BatchPutContactInputBuilder
fn clone(&self) -> BatchPutContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchPutContactInputBuilder
impl Debug for BatchPutContactInputBuilder
source§impl Default for BatchPutContactInputBuilder
impl Default for BatchPutContactInputBuilder
source§fn default() -> BatchPutContactInputBuilder
fn default() -> BatchPutContactInputBuilder
source§impl PartialEq for BatchPutContactInputBuilder
impl PartialEq for BatchPutContactInputBuilder
source§fn eq(&self, other: &BatchPutContactInputBuilder) -> bool
fn eq(&self, other: &BatchPutContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.