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.
This field is required.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) -> Result<ContactContent, BuildError>
pub fn build(self) -> Result<ContactContent, BuildError>
Consumes the builder and constructs a ContactContent.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ContactContentBuilder
impl Clone for ContactContentBuilder
source§fn clone(&self) -> ContactContentBuilder
fn clone(&self) -> ContactContentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ContactContentBuilder
impl PartialEq for ContactContentBuilder
source§fn eq(&self, other: &ContactContentBuilder) -> bool
fn eq(&self, other: &ContactContentBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ContactContentBuilder
Auto Trait Implementations§
impl Freeze for ContactContentBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more