pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteAttachmentInput
.
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 delete.
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 delete.
sourcepub fn build(self) -> Result<DeleteAttachmentInput, BuildError>
pub fn build(self) -> Result<DeleteAttachmentInput, BuildError>
Consumes the builder and constructs a DeleteAttachmentInput
.