Struct aws_sdk_connect::operation::update_contact_attributes::builders::UpdateContactAttributesInputBuilder
source · #[non_exhaustive]pub struct UpdateContactAttributesInputBuilder { /* private fields */ }
Expand description
A builder for UpdateContactAttributesInput
.
Implementations§
source§impl UpdateContactAttributesInputBuilder
impl UpdateContactAttributesInputBuilder
sourcepub fn initial_contact_id(self, input: impl Into<String>) -> Self
pub fn initial_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 the contact center.
sourcepub fn set_initial_contact_id(self, input: Option<String>) -> Self
pub fn set_initial_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 the contact center.
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 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
.
The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_attributes(self, input: Option<HashMap<String, String>>) -> Self
The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.
You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.
sourcepub fn build(self) -> Result<UpdateContactAttributesInput, BuildError>
pub fn build(self) -> Result<UpdateContactAttributesInput, BuildError>
Consumes the builder and constructs a UpdateContactAttributesInput
.
Trait Implementations§
source§impl Clone for UpdateContactAttributesInputBuilder
impl Clone for UpdateContactAttributesInputBuilder
source§fn clone(&self) -> UpdateContactAttributesInputBuilder
fn clone(&self) -> UpdateContactAttributesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateContactAttributesInputBuilder
impl Default for UpdateContactAttributesInputBuilder
source§fn default() -> UpdateContactAttributesInputBuilder
fn default() -> UpdateContactAttributesInputBuilder
source§impl PartialEq<UpdateContactAttributesInputBuilder> for UpdateContactAttributesInputBuilder
impl PartialEq<UpdateContactAttributesInputBuilder> for UpdateContactAttributesInputBuilder
source§fn eq(&self, other: &UpdateContactAttributesInputBuilder) -> bool
fn eq(&self, other: &UpdateContactAttributesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.