Struct aws_sdk_support::operation::describe_attachment::builders::DescribeAttachmentOutputBuilder
source · #[non_exhaustive]pub struct DescribeAttachmentOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeAttachmentOutput
.
Implementations§
source§impl DescribeAttachmentOutputBuilder
impl DescribeAttachmentOutputBuilder
sourcepub fn attachment(self, input: Attachment) -> Self
pub fn attachment(self, input: Attachment) -> Self
This object includes the attachment content and file name.
In the previous response syntax, the value for the data
parameter appears as blob
, which is represented as a base64-encoded string. The value for fileName
is the name of the attachment, such as troubleshoot-screenshot.png
.
sourcepub fn set_attachment(self, input: Option<Attachment>) -> Self
pub fn set_attachment(self, input: Option<Attachment>) -> Self
This object includes the attachment content and file name.
In the previous response syntax, the value for the data
parameter appears as blob
, which is represented as a base64-encoded string. The value for fileName
is the name of the attachment, such as troubleshoot-screenshot.png
.
sourcepub fn get_attachment(&self) -> &Option<Attachment>
pub fn get_attachment(&self) -> &Option<Attachment>
This object includes the attachment content and file name.
In the previous response syntax, the value for the data
parameter appears as blob
, which is represented as a base64-encoded string. The value for fileName
is the name of the attachment, such as troubleshoot-screenshot.png
.
sourcepub fn build(self) -> DescribeAttachmentOutput
pub fn build(self) -> DescribeAttachmentOutput
Consumes the builder and constructs a DescribeAttachmentOutput
.
Trait Implementations§
source§impl Clone for DescribeAttachmentOutputBuilder
impl Clone for DescribeAttachmentOutputBuilder
source§fn clone(&self) -> DescribeAttachmentOutputBuilder
fn clone(&self) -> DescribeAttachmentOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeAttachmentOutputBuilder
impl Default for DescribeAttachmentOutputBuilder
source§fn default() -> DescribeAttachmentOutputBuilder
fn default() -> DescribeAttachmentOutputBuilder
source§impl PartialEq for DescribeAttachmentOutputBuilder
impl PartialEq for DescribeAttachmentOutputBuilder
source§fn eq(&self, other: &DescribeAttachmentOutputBuilder) -> bool
fn eq(&self, other: &DescribeAttachmentOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeAttachmentOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeAttachmentOutputBuilder
impl RefUnwindSafe for DescribeAttachmentOutputBuilder
impl Send for DescribeAttachmentOutputBuilder
impl Sync for DescribeAttachmentOutputBuilder
impl Unpin for DescribeAttachmentOutputBuilder
impl UnwindSafe for DescribeAttachmentOutputBuilder
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