#[non_exhaustive]pub struct GetAssetOutputBuilder { /* private fields */ }Expand description
A builder for GetAssetOutput.
Implementations§
Source§impl GetAssetOutputBuilder
impl GetAssetOutputBuilder
Sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the asset.
This field is required.Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the asset.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the asset.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the asset.
Sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp at which the asset was created.
Sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp at which the asset was created.
Sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp at which the asset was created.
Sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp at which the asset was last updated.
Sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp at which the asset was last updated.
Sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp at which the asset was last updated.
Sourcepub fn asset_type_id(self, input: impl Into<String>) -> Self
pub fn asset_type_id(self, input: impl Into<String>) -> Self
The identifier of the asset type for this asset.
This field is required.Sourcepub fn set_asset_type_id(self, input: Option<String>) -> Self
pub fn set_asset_type_id(self, input: Option<String>) -> Self
The identifier of the asset type for this asset.
Sourcepub fn get_asset_type_id(&self) -> &Option<String>
pub fn get_asset_type_id(&self) -> &Option<String>
The identifier of the asset type for this asset.
Sourcepub fn glossary_terms(self, input: impl Into<String>) -> Self
pub fn glossary_terms(self, input: impl Into<String>) -> Self
Appends an item to glossary_terms.
To override the contents of this collection use set_glossary_terms.
The identifiers of the glossary terms associated with the asset.
Sourcepub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
pub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
The identifiers of the glossary terms associated with the asset.
Sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The identifiers of the glossary terms associated with the asset.
Sourcepub fn forms(self, k: impl Into<String>, v: AssetFormEntry) -> Self
pub fn forms(self, k: impl Into<String>, v: AssetFormEntry) -> Self
Adds a key-value pair to forms.
To override the contents of this collection use set_forms.
The forms on the asset, keyed by form name.
Sourcepub fn set_forms(self, input: Option<HashMap<String, AssetFormEntry>>) -> Self
pub fn set_forms(self, input: Option<HashMap<String, AssetFormEntry>>) -> Self
The forms on the asset, keyed by form name.
Sourcepub fn get_forms(&self) -> &Option<HashMap<String, AssetFormEntry>>
pub fn get_forms(&self) -> &Option<HashMap<String, AssetFormEntry>>
The forms on the asset, keyed by form name.
Sourcepub fn attachments(self, k: impl Into<String>, v: AssetFormEntry) -> Self
pub fn attachments(self, k: impl Into<String>, v: AssetFormEntry) -> Self
Adds a key-value pair to attachments.
To override the contents of this collection use set_attachments.
Additional attachments on the asset for more context, keyed by attachment name.
Sourcepub fn set_attachments(
self,
input: Option<HashMap<String, AssetFormEntry>>,
) -> Self
pub fn set_attachments( self, input: Option<HashMap<String, AssetFormEntry>>, ) -> Self
Additional attachments on the asset for more context, keyed by attachment name.
Sourcepub fn get_attachments(&self) -> &Option<HashMap<String, AssetFormEntry>>
pub fn get_attachments(&self) -> &Option<HashMap<String, AssetFormEntry>>
Additional attachments on the asset for more context, keyed by attachment name.
Sourcepub fn iterable_forms(self, k: impl Into<String>, v: IterableFormEntry) -> Self
pub fn iterable_forms(self, k: impl Into<String>, v: IterableFormEntry) -> Self
Adds a key-value pair to iterable_forms.
To override the contents of this collection use set_iterable_forms.
The iterable forms available on the asset, keyed by form name (for example, columns). Use the form name with ListIterableForms or BatchGetIterableForms to retrieve the form's items.
Sourcepub fn set_iterable_forms(
self,
input: Option<HashMap<String, IterableFormEntry>>,
) -> Self
pub fn set_iterable_forms( self, input: Option<HashMap<String, IterableFormEntry>>, ) -> Self
The iterable forms available on the asset, keyed by form name (for example, columns). Use the form name with ListIterableForms or BatchGetIterableForms to retrieve the form's items.
Sourcepub fn get_iterable_forms(&self) -> &Option<HashMap<String, IterableFormEntry>>
pub fn get_iterable_forms(&self) -> &Option<HashMap<String, IterableFormEntry>>
The iterable forms available on the asset, keyed by form name (for example, columns). Use the form name with ListIterableForms or BatchGetIterableForms to retrieve the form's items.
Sourcepub fn build(self) -> Result<GetAssetOutput, BuildError>
pub fn build(self) -> Result<GetAssetOutput, BuildError>
Consumes the builder and constructs a GetAssetOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for GetAssetOutputBuilder
impl Clone for GetAssetOutputBuilder
Source§fn clone(&self) -> GetAssetOutputBuilder
fn clone(&self) -> GetAssetOutputBuilder
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 GetAssetOutputBuilder
impl Debug for GetAssetOutputBuilder
Source§impl Default for GetAssetOutputBuilder
impl Default for GetAssetOutputBuilder
Source§fn default() -> GetAssetOutputBuilder
fn default() -> GetAssetOutputBuilder
Source§impl PartialEq for GetAssetOutputBuilder
impl PartialEq for GetAssetOutputBuilder
impl StructuralPartialEq for GetAssetOutputBuilder
Auto Trait Implementations§
impl Freeze for GetAssetOutputBuilder
impl RefUnwindSafe for GetAssetOutputBuilder
impl Send for GetAssetOutputBuilder
impl Sync for GetAssetOutputBuilder
impl Unpin for GetAssetOutputBuilder
impl UnsafeUnpin for GetAssetOutputBuilder
impl UnwindSafe for GetAssetOutputBuilder
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