Struct aws_sdk_datazone::types::builders::AssetRevisionBuilder
source · #[non_exhaustive]pub struct AssetRevisionBuilder { /* private fields */ }Expand description
A builder for AssetRevision.
Implementations§
source§impl AssetRevisionBuilder
impl AssetRevisionBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The Amazon DataZone user who created the inventory asset.
sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The Amazon DataZone user who created the inventory asset.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The Amazon DataZone user who created the inventory asset.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the inventory asset revision.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the inventory asset revision.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision details of the inventory asset.
sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision details of the inventory asset.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision details of the inventory asset.
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 asset revision.
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 asset revision.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the asset revision.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when an inventory asset revison 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 an inventory asset revison was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when an inventory asset revison was created.
sourcepub fn build(self) -> AssetRevision
pub fn build(self) -> AssetRevision
Consumes the builder and constructs a AssetRevision.
Trait Implementations§
source§impl Clone for AssetRevisionBuilder
impl Clone for AssetRevisionBuilder
source§fn clone(&self) -> AssetRevisionBuilder
fn clone(&self) -> AssetRevisionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AssetRevisionBuilder
impl Debug for AssetRevisionBuilder
source§impl Default for AssetRevisionBuilder
impl Default for AssetRevisionBuilder
source§fn default() -> AssetRevisionBuilder
fn default() -> AssetRevisionBuilder
source§impl PartialEq for AssetRevisionBuilder
impl PartialEq for AssetRevisionBuilder
impl StructuralPartialEq for AssetRevisionBuilder
Auto Trait Implementations§
impl Freeze for AssetRevisionBuilder
impl RefUnwindSafe for AssetRevisionBuilder
impl Send for AssetRevisionBuilder
impl Sync for AssetRevisionBuilder
impl Unpin for AssetRevisionBuilder
impl UnwindSafe for AssetRevisionBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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