Struct aws_sdk_datazone::types::builders::AssetItemBuilder
source · #[non_exhaustive]pub struct AssetItemBuilder { /* private fields */ }Expand description
A builder for AssetItem.
Implementations§
source§impl AssetItemBuilder
impl AssetItemBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which the inventory asset exists.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which the inventory asset exists.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which the inventory asset exists.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
the identifier of the Amazon DataZone inventory asset.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
the identifier of the Amazon DataZone inventory asset.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
the identifier of the Amazon DataZone inventory asset.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Amazon DataZone inventory asset.
This field is required.sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Amazon DataZone inventory asset.
sourcepub fn type_identifier(self, input: impl Into<String>) -> Self
pub fn type_identifier(self, input: impl Into<String>) -> Self
The identifier of the asset type of the specified Amazon DataZone inventory asset.
This field is required.sourcepub fn set_type_identifier(self, input: Option<String>) -> Self
pub fn set_type_identifier(self, input: Option<String>) -> Self
The identifier of the asset type of the specified Amazon DataZone inventory asset.
sourcepub fn get_type_identifier(&self) -> &Option<String>
pub fn get_type_identifier(&self) -> &Option<String>
The identifier of the asset type of the specified Amazon DataZone inventory asset.
sourcepub fn type_revision(self, input: impl Into<String>) -> Self
pub fn type_revision(self, input: impl Into<String>) -> Self
The revision of the inventory asset type.
This field is required.sourcepub fn set_type_revision(self, input: Option<String>) -> Self
pub fn set_type_revision(self, input: Option<String>) -> Self
The revision of the inventory asset type.
sourcepub fn get_type_revision(&self) -> &Option<String>
pub fn get_type_revision(&self) -> &Option<String>
The revision of the inventory asset type.
sourcepub fn external_identifier(self, input: impl Into<String>) -> Self
pub fn external_identifier(self, input: impl Into<String>) -> Self
The external identifier of the Amazon DataZone inventory asset.
sourcepub fn set_external_identifier(self, input: Option<String>) -> Self
pub fn set_external_identifier(self, input: Option<String>) -> Self
The external identifier of the Amazon DataZone inventory asset.
sourcepub fn get_external_identifier(&self) -> &Option<String>
pub fn get_external_identifier(&self) -> &Option<String>
The external identifier of the Amazon DataZone inventory asset.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of an Amazon DataZone inventory asset.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of an Amazon DataZone inventory asset.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of an Amazon DataZone inventory asset.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the Amazon DataZone inventory 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 of when the Amazon DataZone inventory asset was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the Amazon DataZone inventory asset was created.
sourcepub fn created_by(self, input: impl Into<String>) -> Self
pub fn created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the inventory asset.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the inventory asset.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the inventory asset.
sourcepub fn first_revision_created_at(self, input: DateTime) -> Self
pub fn first_revision_created_at(self, input: DateTime) -> Self
The timestamp of when the first revision of the inventory asset was created.
sourcepub fn set_first_revision_created_at(self, input: Option<DateTime>) -> Self
pub fn set_first_revision_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when the first revision of the inventory asset was created.
sourcepub fn get_first_revision_created_at(&self) -> &Option<DateTime>
pub fn get_first_revision_created_at(&self) -> &Option<DateTime>
The timestamp of when the first revision of the inventory asset was created.
sourcepub fn first_revision_created_by(self, input: impl Into<String>) -> Self
pub fn first_revision_created_by(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the first revision of the inventory asset.
sourcepub fn set_first_revision_created_by(self, input: Option<String>) -> Self
pub fn set_first_revision_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user who created the first revision of the inventory asset.
sourcepub fn get_first_revision_created_by(&self) -> &Option<String>
pub fn get_first_revision_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the first revision of the inventory 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 glossary terms attached to the Amazon DataZone inventory asset.
sourcepub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
pub fn set_glossary_terms(self, input: Option<Vec<String>>) -> Self
The glossary terms attached to the Amazon DataZone inventory asset.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms attached to the Amazon DataZone inventory asset.
sourcepub fn owning_project_id(self, input: impl Into<String>) -> Self
pub fn owning_project_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone project that owns the inventory asset.
This field is required.sourcepub fn set_owning_project_id(self, input: Option<String>) -> Self
pub fn set_owning_project_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone project that owns the inventory asset.
sourcepub fn get_owning_project_id(&self) -> &Option<String>
pub fn get_owning_project_id(&self) -> &Option<String>
The identifier of the Amazon DataZone project that owns the inventory asset.
sourcepub fn additional_attributes(self, input: AssetItemAdditionalAttributes) -> Self
pub fn additional_attributes(self, input: AssetItemAdditionalAttributes) -> Self
The additional attributes of a Amazon DataZone inventory asset.
sourcepub fn set_additional_attributes(
self,
input: Option<AssetItemAdditionalAttributes>,
) -> Self
pub fn set_additional_attributes( self, input: Option<AssetItemAdditionalAttributes>, ) -> Self
The additional attributes of a Amazon DataZone inventory asset.
sourcepub fn get_additional_attributes(
&self,
) -> &Option<AssetItemAdditionalAttributes>
pub fn get_additional_attributes( &self, ) -> &Option<AssetItemAdditionalAttributes>
The additional attributes of a Amazon DataZone inventory asset.
Trait Implementations§
source§impl Clone for AssetItemBuilder
impl Clone for AssetItemBuilder
source§fn clone(&self) -> AssetItemBuilder
fn clone(&self) -> AssetItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssetItemBuilder
impl Debug for AssetItemBuilder
source§impl Default for AssetItemBuilder
impl Default for AssetItemBuilder
source§fn default() -> AssetItemBuilder
fn default() -> AssetItemBuilder
source§impl PartialEq for AssetItemBuilder
impl PartialEq for AssetItemBuilder
source§fn eq(&self, other: &AssetItemBuilder) -> bool
fn eq(&self, other: &AssetItemBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssetItemBuilder
Auto Trait Implementations§
impl Freeze for AssetItemBuilder
impl RefUnwindSafe for AssetItemBuilder
impl Send for AssetItemBuilder
impl Sync for AssetItemBuilder
impl Unpin for AssetItemBuilder
impl UnwindSafe for AssetItemBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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