#[non_exhaustive]pub struct GetAssetOutputBuilder { /* private fields */ }Expand description
A builder for GetAssetOutput.
Implementations§
source§impl GetAssetOutputBuilder
impl GetAssetOutputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the asset.
This field is required.sourcepub fn type_identifier(self, input: impl Into<String>) -> Self
pub fn type_identifier(self, input: impl Into<String>) -> Self
The ID of the asset type.
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 ID of the asset type.
sourcepub fn get_type_identifier(&self) -> &Option<String>
pub fn get_type_identifier(&self) -> &Option<String>
The ID of the asset type.
sourcepub fn type_revision(self, input: impl Into<String>) -> Self
pub fn type_revision(self, input: impl Into<String>) -> Self
The revision of the 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 asset type.
sourcepub fn get_type_revision(&self) -> &Option<String>
pub fn get_type_revision(&self) -> &Option<String>
The revision of the asset type.
sourcepub fn external_identifier(self, input: impl Into<String>) -> Self
pub fn external_identifier(self, input: impl Into<String>) -> Self
The external ID of the asset.
sourcepub fn set_external_identifier(self, input: Option<String>) -> Self
pub fn set_external_identifier(self, input: Option<String>) -> Self
The external ID of the asset.
sourcepub fn get_external_identifier(&self) -> &Option<String>
pub fn get_external_identifier(&self) -> &Option<String>
The external ID of the asset.
sourcepub fn revision(self, input: impl Into<String>) -> Self
pub fn revision(self, input: impl Into<String>) -> Self
The revision of the asset.
This field is required.sourcepub fn set_revision(self, input: Option<String>) -> Self
pub fn set_revision(self, input: Option<String>) -> Self
The revision of the asset.
sourcepub fn get_revision(&self) -> &Option<String>
pub fn get_revision(&self) -> &Option<String>
The revision of the asset.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the Amazon DataZone asset.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the Amazon DataZone asset.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the Amazon DataZone asset.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when 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 of when the asset was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the 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 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 asset.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user who created the 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 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 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 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 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 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 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 business glossary terms attached to 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 business glossary terms attached to the asset.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The business glossary terms attached to the asset.
sourcepub fn owning_project_id(self, input: impl Into<String>) -> Self
pub fn owning_project_id(self, input: impl Into<String>) -> Self
The ID of the project that owns the 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 ID of the project that owns the asset.
sourcepub fn get_owning_project_id(&self) -> &Option<String>
pub fn get_owning_project_id(&self) -> &Option<String>
The ID of the project that owns the asset.
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain to which the asset belongs.
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 ID of the Amazon DataZone domain to which the asset belongs.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain to which the asset belongs.
sourcepub fn listing(self, input: AssetListingDetails) -> Self
pub fn listing(self, input: AssetListingDetails) -> Self
The listing of the asset.
sourcepub fn set_listing(self, input: Option<AssetListingDetails>) -> Self
pub fn set_listing(self, input: Option<AssetListingDetails>) -> Self
The listing of the asset.
sourcepub fn get_listing(&self) -> &Option<AssetListingDetails>
pub fn get_listing(&self) -> &Option<AssetListingDetails>
The listing of the asset.
sourcepub fn forms_output(self, input: FormOutput) -> Self
pub fn forms_output(self, input: FormOutput) -> Self
Appends an item to forms_output.
To override the contents of this collection use set_forms_output.
The metadata forms attached to the asset.
sourcepub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The metadata forms attached to the asset.
sourcepub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
The metadata forms attached to the asset.
sourcepub fn read_only_forms_output(self, input: FormOutput) -> Self
pub fn read_only_forms_output(self, input: FormOutput) -> Self
Appends an item to read_only_forms_output.
To override the contents of this collection use set_read_only_forms_output.
The read-only metadata forms attached to the asset.
sourcepub fn set_read_only_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_read_only_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The read-only metadata forms attached to the asset.
sourcepub fn get_read_only_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_read_only_forms_output(&self) -> &Option<Vec<FormOutput>>
The read-only metadata forms attached to the asset.
sourcepub fn latest_time_series_data_point_forms_output(
self,
input: TimeSeriesDataPointSummaryFormOutput,
) -> Self
pub fn latest_time_series_data_point_forms_output( self, input: TimeSeriesDataPointSummaryFormOutput, ) -> Self
Appends an item to latest_time_series_data_point_forms_output.
To override the contents of this collection use set_latest_time_series_data_point_forms_output.
The latest data point that was imported into the time series form for the asset.
sourcepub fn set_latest_time_series_data_point_forms_output(
self,
input: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>,
) -> Self
pub fn set_latest_time_series_data_point_forms_output( self, input: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>, ) -> Self
The latest data point that was imported into the time series form for the asset.
sourcepub fn get_latest_time_series_data_point_forms_output(
&self,
) -> &Option<Vec<TimeSeriesDataPointSummaryFormOutput>>
pub fn get_latest_time_series_data_point_forms_output( &self, ) -> &Option<Vec<TimeSeriesDataPointSummaryFormOutput>>
The latest data point that was imported into the time series form for the asset.
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 · 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 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§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