#[non_exhaustive]pub struct TagContactInputBuilder { /* private fields */ }
Expand description
A builder for TagContactInput
.
Implementations§
source§impl TagContactInputBuilder
impl TagContactInputBuilder
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 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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
The tags to be assigned to the contact resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Authorization is not supported by this tag.
sourcepub fn build(self) -> Result<TagContactInput, BuildError>
pub fn build(self) -> Result<TagContactInput, BuildError>
Consumes the builder and constructs a TagContactInput
.
source§impl TagContactInputBuilder
impl TagContactInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<TagContactOutput, SdkError<TagContactError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<TagContactOutput, SdkError<TagContactError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TagContactInputBuilder
impl Clone for TagContactInputBuilder
source§fn clone(&self) -> TagContactInputBuilder
fn clone(&self) -> TagContactInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagContactInputBuilder
impl Debug for TagContactInputBuilder
source§impl Default for TagContactInputBuilder
impl Default for TagContactInputBuilder
source§fn default() -> TagContactInputBuilder
fn default() -> TagContactInputBuilder
source§impl PartialEq for TagContactInputBuilder
impl PartialEq for TagContactInputBuilder
source§fn eq(&self, other: &TagContactInputBuilder) -> bool
fn eq(&self, other: &TagContactInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.