#[non_exhaustive]pub struct RealTimeContactAnalysisAttachmentBuilder { /* private fields */ }
Expand description
A builder for RealTimeContactAnalysisAttachment
.
Implementations§
source§impl RealTimeContactAnalysisAttachmentBuilder
impl RealTimeContactAnalysisAttachmentBuilder
sourcepub fn attachment_name(self, input: impl Into<String>) -> Self
pub fn attachment_name(self, input: impl Into<String>) -> Self
A case-sensitive name of the attachment being uploaded. Can be redacted.
This field is required.sourcepub fn set_attachment_name(self, input: Option<String>) -> Self
pub fn set_attachment_name(self, input: Option<String>) -> Self
A case-sensitive name of the attachment being uploaded. Can be redacted.
sourcepub fn get_attachment_name(&self) -> &Option<String>
pub fn get_attachment_name(&self) -> &Option<String>
A case-sensitive name of the attachment being uploaded. Can be redacted.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
A unique identifier for the attachment.
This field is required.sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
A unique identifier for the attachment.
sourcepub fn get_attachment_id(&self) -> &Option<String>
pub fn get_attachment_id(&self) -> &Option<String>
A unique identifier for the attachment.
sourcepub fn status(self, input: ArtifactStatus) -> Self
pub fn status(self, input: ArtifactStatus) -> Self
Status of the attachment.
sourcepub fn set_status(self, input: Option<ArtifactStatus>) -> Self
pub fn set_status(self, input: Option<ArtifactStatus>) -> Self
Status of the attachment.
sourcepub fn get_status(&self) -> &Option<ArtifactStatus>
pub fn get_status(&self) -> &Option<ArtifactStatus>
Status of the attachment.
sourcepub fn build(self) -> Result<RealTimeContactAnalysisAttachment, BuildError>
pub fn build(self) -> Result<RealTimeContactAnalysisAttachment, BuildError>
Consumes the builder and constructs a RealTimeContactAnalysisAttachment
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RealTimeContactAnalysisAttachmentBuilder
impl Clone for RealTimeContactAnalysisAttachmentBuilder
source§fn clone(&self) -> RealTimeContactAnalysisAttachmentBuilder
fn clone(&self) -> RealTimeContactAnalysisAttachmentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RealTimeContactAnalysisAttachmentBuilder
impl Default for RealTimeContactAnalysisAttachmentBuilder
source§fn default() -> RealTimeContactAnalysisAttachmentBuilder
fn default() -> RealTimeContactAnalysisAttachmentBuilder
source§impl PartialEq for RealTimeContactAnalysisAttachmentBuilder
impl PartialEq for RealTimeContactAnalysisAttachmentBuilder
source§fn eq(&self, other: &RealTimeContactAnalysisAttachmentBuilder) -> bool
fn eq(&self, other: &RealTimeContactAnalysisAttachmentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RealTimeContactAnalysisAttachmentBuilder
Auto Trait Implementations§
impl Freeze for RealTimeContactAnalysisAttachmentBuilder
impl RefUnwindSafe for RealTimeContactAnalysisAttachmentBuilder
impl Send for RealTimeContactAnalysisAttachmentBuilder
impl Sync for RealTimeContactAnalysisAttachmentBuilder
impl Unpin for RealTimeContactAnalysisAttachmentBuilder
impl UnwindSafe for RealTimeContactAnalysisAttachmentBuilder
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