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