#[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 instanceId in the ARN of the instance.
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 instanceId in the 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.
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 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 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 build(self) -> Result<UpdateContactInput, BuildError>
pub fn build(self) -> Result<UpdateContactInput, BuildError>
Consumes the builder and constructs a UpdateContactInput
.
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<UpdateContactInputBuilder> for UpdateContactInputBuilder
impl PartialEq<UpdateContactInputBuilder> 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 ==
.