Struct aws_sdk_connectcases::types::builders::ContactContentBuilder
source · #[non_exhaustive]pub struct ContactContentBuilder { /* private fields */ }
Expand description
A builder for ContactContent
.
Implementations§
source§impl ContactContentBuilder
impl ContactContentBuilder
sourcepub fn contact_arn(self, input: impl Into<String>) -> Self
pub fn contact_arn(self, input: impl Into<String>) -> Self
A unique identifier of a contact in Amazon Connect.
sourcepub fn set_contact_arn(self, input: Option<String>) -> Self
pub fn set_contact_arn(self, input: Option<String>) -> Self
A unique identifier of a contact in Amazon Connect.
sourcepub fn get_contact_arn(&self) -> &Option<String>
pub fn get_contact_arn(&self) -> &Option<String>
A unique identifier of a contact in Amazon Connect.
sourcepub fn channel(self, input: impl Into<String>) -> Self
pub fn channel(self, input: impl Into<String>) -> Self
A list of channels to filter on for related items of type Contact
.
sourcepub fn set_channel(self, input: Option<String>) -> Self
pub fn set_channel(self, input: Option<String>) -> Self
A list of channels to filter on for related items of type Contact
.
sourcepub fn get_channel(&self) -> &Option<String>
pub fn get_channel(&self) -> &Option<String>
A list of channels to filter on for related items of type Contact
.
sourcepub fn connected_to_system_time(self, input: DateTime) -> Self
pub fn connected_to_system_time(self, input: DateTime) -> Self
The difference between the InitiationTimestamp
and the DisconnectTimestamp
of the contact.
sourcepub fn set_connected_to_system_time(self, input: Option<DateTime>) -> Self
pub fn set_connected_to_system_time(self, input: Option<DateTime>) -> Self
The difference between the InitiationTimestamp
and the DisconnectTimestamp
of the contact.
sourcepub fn get_connected_to_system_time(&self) -> &Option<DateTime>
pub fn get_connected_to_system_time(&self) -> &Option<DateTime>
The difference between the InitiationTimestamp
and the DisconnectTimestamp
of the contact.
sourcepub fn build(self) -> ContactContent
pub fn build(self) -> ContactContent
Consumes the builder and constructs a ContactContent
.
Trait Implementations§
source§impl Clone for ContactContentBuilder
impl Clone for ContactContentBuilder
source§fn clone(&self) -> ContactContentBuilder
fn clone(&self) -> ContactContentBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ContactContentBuilder
impl Debug for ContactContentBuilder
source§impl Default for ContactContentBuilder
impl Default for ContactContentBuilder
source§fn default() -> ContactContentBuilder
fn default() -> ContactContentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ContactContentBuilder
impl PartialEq for ContactContentBuilder
source§fn eq(&self, other: &ContactContentBuilder) -> bool
fn eq(&self, other: &ContactContentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ContactContentBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ContactContentBuilder
impl Send for ContactContentBuilder
impl Sync for ContactContentBuilder
impl Unpin for ContactContentBuilder
impl UnwindSafe for ContactContentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more