#[non_exhaustive]pub struct UpdateContactInputBuilder { /* private fields */ }
Expand description
A builder for UpdateContactInput
.
Implementations§
source§impl UpdateContactInputBuilder
impl UpdateContactInputBuilder
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. This is the identifier of the contact associated with the first interaction with your contact center.
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. This is the identifier of the contact associated with the first interaction with your contact center.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the contact.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the contact.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the contact.
sourcepub fn references(self, k: impl Into<String>, v: Reference) -> Self
pub fn references(self, k: impl Into<String>, v: Reference) -> Self
Adds a key-value pair to references
.
To override the contents of this collection use set_references
.
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
sourcepub fn set_references(self, input: Option<HashMap<String, Reference>>) -> Self
pub fn set_references(self, input: Option<HashMap<String, Reference>>) -> Self
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
sourcepub fn get_references(&self) -> &Option<HashMap<String, Reference>>
pub fn get_references(&self) -> &Option<HashMap<String, Reference>>
Well-formed data on contact, shown to agents on Contact Control Panel (CCP).
sourcepub fn build(self) -> Result<UpdateContactInput, BuildError>
pub fn build(self) -> Result<UpdateContactInput, BuildError>
Consumes the builder and constructs a UpdateContactInput
.
source§impl UpdateContactInputBuilder
impl UpdateContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateContactOutput, SdkError<UpdateContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateContactOutput, SdkError<UpdateContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateContactInputBuilder
impl Clone for UpdateContactInputBuilder
source§fn clone(&self) -> UpdateContactInputBuilder
fn clone(&self) -> UpdateContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateContactInputBuilder
impl Debug for UpdateContactInputBuilder
source§impl Default for UpdateContactInputBuilder
impl Default for UpdateContactInputBuilder
source§fn default() -> UpdateContactInputBuilder
fn default() -> UpdateContactInputBuilder
source§impl PartialEq for UpdateContactInputBuilder
impl PartialEq for UpdateContactInputBuilder
source§fn eq(&self, other: &UpdateContactInputBuilder) -> bool
fn eq(&self, other: &UpdateContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.