#[non_exhaustive]pub struct AttachmentItemBuilder { /* private fields */ }
Expand description
A builder for AttachmentItem
.
Implementations§
source§impl AttachmentItemBuilder
impl AttachmentItemBuilder
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.
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 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.
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.
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.
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) -> AttachmentItem
pub fn build(self) -> AttachmentItem
Consumes the builder and constructs a AttachmentItem
.
Trait Implementations§
source§impl Clone for AttachmentItemBuilder
impl Clone for AttachmentItemBuilder
source§fn clone(&self) -> AttachmentItemBuilder
fn clone(&self) -> AttachmentItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AttachmentItemBuilder
impl Debug for AttachmentItemBuilder
source§impl Default for AttachmentItemBuilder
impl Default for AttachmentItemBuilder
source§fn default() -> AttachmentItemBuilder
fn default() -> AttachmentItemBuilder
source§impl PartialEq for AttachmentItemBuilder
impl PartialEq for AttachmentItemBuilder
source§fn eq(&self, other: &AttachmentItemBuilder) -> bool
fn eq(&self, other: &AttachmentItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AttachmentItemBuilder
Auto Trait Implementations§
impl Freeze for AttachmentItemBuilder
impl RefUnwindSafe for AttachmentItemBuilder
impl Send for AttachmentItemBuilder
impl Sync for AttachmentItemBuilder
impl Unpin for AttachmentItemBuilder
impl UnwindSafe for AttachmentItemBuilder
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