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
source§fn eq(&self, other: &AssetRevisionBuilder) -> bool
fn eq(&self, other: &AssetRevisionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.