#[non_exhaustive]pub struct PutAttachmentOutputBuilder { /* private fields */ }Expand description
A builder for PutAttachmentOutput.
Implementations§
Source§impl PutAttachmentOutputBuilder
impl PutAttachmentOutputBuilder
Sourcepub fn asset_identifier(self, input: impl Into<String>) -> Self
pub fn asset_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the asset.
Sourcepub fn set_asset_identifier(self, input: Option<String>) -> Self
pub fn set_asset_identifier(self, input: Option<String>) -> Self
The unique identifier of the asset.
Sourcepub fn get_asset_identifier(&self) -> &Option<String>
pub fn get_asset_identifier(&self) -> &Option<String>
The unique identifier of the asset.
Sourcepub fn iterable_form_name(self, input: impl Into<String>) -> Self
pub fn iterable_form_name(self, input: impl Into<String>) -> Self
The name of the iterable form, if the attachment targets an item.
Sourcepub fn set_iterable_form_name(self, input: Option<String>) -> Self
pub fn set_iterable_form_name(self, input: Option<String>) -> Self
The name of the iterable form, if the attachment targets an item.
Sourcepub fn get_iterable_form_name(&self) -> &Option<String>
pub fn get_iterable_form_name(&self) -> &Option<String>
The name of the iterable form, if the attachment targets an item.
Sourcepub fn item_identifier(self, input: impl Into<String>) -> Self
pub fn item_identifier(self, input: impl Into<String>) -> Self
The identifier of the item within the iterable form, if applicable.
Sourcepub fn set_item_identifier(self, input: Option<String>) -> Self
pub fn set_item_identifier(self, input: Option<String>) -> Self
The identifier of the item within the iterable form, if applicable.
Sourcepub fn get_item_identifier(&self) -> &Option<String>
pub fn get_item_identifier(&self) -> &Option<String>
The identifier of the item within the iterable form, if applicable.
Sourcepub fn attachment_name(self, input: impl Into<String>) -> Self
pub fn attachment_name(self, input: impl Into<String>) -> Self
The name of the attachment.
Sourcepub fn set_attachment_name(self, input: Option<String>) -> Self
pub fn set_attachment_name(self, input: Option<String>) -> Self
The name of the attachment.
Sourcepub fn get_attachment_name(&self) -> &Option<String>
pub fn get_attachment_name(&self) -> &Option<String>
The name of the attachment.
Sourcepub fn form_type_id(self, input: impl Into<String>) -> Self
pub fn form_type_id(self, input: impl Into<String>) -> Self
The identifier of the form type for this attachment.
Sourcepub fn set_form_type_id(self, input: Option<String>) -> Self
pub fn set_form_type_id(self, input: Option<String>) -> Self
The identifier of the form type for this attachment.
Sourcepub fn get_form_type_id(&self) -> &Option<String>
pub fn get_form_type_id(&self) -> &Option<String>
The identifier of the form type for this attachment.
Sourcepub fn build(self) -> PutAttachmentOutput
pub fn build(self) -> PutAttachmentOutput
Consumes the builder and constructs a PutAttachmentOutput.
Trait Implementations§
Source§impl Clone for PutAttachmentOutputBuilder
impl Clone for PutAttachmentOutputBuilder
Source§fn clone(&self) -> PutAttachmentOutputBuilder
fn clone(&self) -> PutAttachmentOutputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PutAttachmentOutputBuilder
impl Debug for PutAttachmentOutputBuilder
Source§impl Default for PutAttachmentOutputBuilder
impl Default for PutAttachmentOutputBuilder
Source§fn default() -> PutAttachmentOutputBuilder
fn default() -> PutAttachmentOutputBuilder
impl StructuralPartialEq for PutAttachmentOutputBuilder
Auto Trait Implementations§
impl Freeze for PutAttachmentOutputBuilder
impl RefUnwindSafe for PutAttachmentOutputBuilder
impl Send for PutAttachmentOutputBuilder
impl Sync for PutAttachmentOutputBuilder
impl Unpin for PutAttachmentOutputBuilder
impl UnsafeUnpin for PutAttachmentOutputBuilder
impl UnwindSafe for PutAttachmentOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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