#[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 ==
.