Struct aws_sdk_support::input::describe_attachment_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for DescribeAttachmentInput.
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 to return. Attachment IDs are returned by the DescribeCommunications operation.
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 to return. Attachment IDs are returned by the DescribeCommunications operation.
sourcepub fn build(self) -> Result<DescribeAttachmentInput, BuildError>
pub fn build(self) -> Result<DescribeAttachmentInput, BuildError>
Consumes the builder and constructs a DescribeAttachmentInput.