#[non_exhaustive]pub struct TransferContactInputBuilder { /* private fields */ }
Expand description
A builder for TransferContactInput
.
Implementations§
source§impl TransferContactInputBuilder
impl TransferContactInputBuilder
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_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
This field is required.sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn set_queue_id(self, input: Option<String>) -> Self
pub fn set_queue_id(self, input: Option<String>) -> Self
The identifier for the queue.
sourcepub fn get_queue_id(&self) -> &Option<String>
pub fn get_queue_id(&self) -> &Option<String>
The identifier for the queue.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier for the user. This can be the ID or the ARN of the user.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier for the user. This can be the ID or the ARN of the user.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The identifier for the user. This can be the ID or the ARN of the user.
sourcepub fn contact_flow_id(self, input: impl Into<String>) -> Self
pub fn contact_flow_id(self, input: impl Into<String>) -> Self
The identifier of the flow.
This field is required.sourcepub fn set_contact_flow_id(self, input: Option<String>) -> Self
pub fn set_contact_flow_id(self, input: Option<String>) -> Self
The identifier of the flow.
sourcepub fn get_contact_flow_id(&self) -> &Option<String>
pub fn get_contact_flow_id(&self) -> &Option<String>
The identifier of the flow.
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 build(self) -> Result<TransferContactInput, BuildError>
pub fn build(self) -> Result<TransferContactInput, BuildError>
Consumes the builder and constructs a TransferContactInput
.
source§impl TransferContactInputBuilder
impl TransferContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TransferContactOutput, SdkError<TransferContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TransferContactOutput, SdkError<TransferContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TransferContactInputBuilder
impl Clone for TransferContactInputBuilder
source§fn clone(&self) -> TransferContactInputBuilder
fn clone(&self) -> TransferContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferContactInputBuilder
impl Debug for TransferContactInputBuilder
source§impl Default for TransferContactInputBuilder
impl Default for TransferContactInputBuilder
source§fn default() -> TransferContactInputBuilder
fn default() -> TransferContactInputBuilder
source§impl PartialEq for TransferContactInputBuilder
impl PartialEq for TransferContactInputBuilder
source§fn eq(&self, other: &TransferContactInputBuilder) -> bool
fn eq(&self, other: &TransferContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.