Struct aws_sdk_support::model::attachment_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AttachmentDetails.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment.
sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment.
sourcepub fn set_file_name(self, input: Option<String>) -> Self
pub fn set_file_name(self, input: Option<String>) -> Self
The file name of the attachment.
sourcepub fn build(self) -> AttachmentDetails
pub fn build(self) -> AttachmentDetails
Consumes the builder and constructs a AttachmentDetails.