#[non_exhaustive]pub struct CreateAssetOutputBuilder { /* private fields */ }
Expand description
A builder for CreateAssetOutput
.
Implementations§
source§impl CreateAssetOutputBuilder
impl CreateAssetOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the created asset.
This field is required.sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the created 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 identifier of the created 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 identifier of the created asset type.
sourcepub fn get_type_identifier(&self) -> &Option<String>
pub fn get_type_identifier(&self) -> &Option<String>
The identifier of the created asset type.
sourcepub fn type_revision(self, input: impl Into<String>) -> Self
pub fn type_revision(self, input: impl Into<String>) -> Self
The revision type of the asset.
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 type of the asset.
sourcepub fn get_type_revision(&self) -> &Option<String>
pub fn get_type_revision(&self) -> &Option<String>
The revision type of the asset.
sourcepub fn external_identifier(self, input: impl Into<String>) -> Self
pub fn external_identifier(self, input: impl Into<String>) -> Self
sourcepub fn set_external_identifier(self, input: Option<String>) -> Self
pub fn set_external_identifier(self, input: Option<String>) -> Self
sourcepub fn get_external_identifier(&self) -> &Option<String>
pub fn get_external_identifier(&self) -> &Option<String>
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 created asset.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the created asset.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the created 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 that created this asset in the catalog.
sourcepub fn set_created_by(self, input: Option<String>) -> Self
pub fn set_created_by(self, input: Option<String>) -> Self
The Amazon DataZone user that created this asset in the catalog.
sourcepub fn get_created_by(&self) -> &Option<String>
pub fn get_created_by(&self) -> &Option<String>
The Amazon DataZone user that created this asset in the catalog.
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 took place.
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 took place.
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 took place.
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 that made 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 that made 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 that made 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 glossary terms that are attached to the created 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 that are attached to the created asset.
sourcepub fn get_glossary_terms(&self) -> &Option<Vec<String>>
pub fn get_glossary_terms(&self) -> &Option<Vec<String>>
The glossary terms that are attached to the created 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 Amazon DataZone project that owns the created 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 Amazon DataZone project that owns the created asset.
sourcepub fn get_owning_project_id(&self) -> &Option<String>
pub fn get_owning_project_id(&self) -> &Option<String>
The ID of the Amazon DataZone project that owns the created 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 in which the asset was created.
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 in which the asset was created.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The ID of the Amazon DataZone domain in which the asset was created.
sourcepub fn listing(self, input: AssetListingDetails) -> Self
pub fn listing(self, input: AssetListingDetails) -> Self
sourcepub fn set_listing(self, input: Option<AssetListingDetails>) -> Self
pub fn set_listing(self, input: Option<AssetListingDetails>) -> Self
sourcepub fn get_listing(&self) -> &Option<AssetListingDetails>
pub fn get_listing(&self) -> &Option<AssetListingDetails>
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 that are attached to the created 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 that are attached to the created asset.
sourcepub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
The metadata forms that are attached to the created 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 that are attached to the created 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 that are attached to the created 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 that are attached to the created asset.
sourcepub fn prediction_configuration(self, input: PredictionConfiguration) -> Self
pub fn prediction_configuration(self, input: PredictionConfiguration) -> Self
The configuration of the automatically generated business-friendly metadata for the asset.
sourcepub fn set_prediction_configuration(
self,
input: Option<PredictionConfiguration>
) -> Self
pub fn set_prediction_configuration( self, input: Option<PredictionConfiguration> ) -> Self
The configuration of the automatically generated business-friendly metadata for the asset.
sourcepub fn get_prediction_configuration(&self) -> &Option<PredictionConfiguration>
pub fn get_prediction_configuration(&self) -> &Option<PredictionConfiguration>
The configuration of the automatically generated business-friendly metadata for the asset.
sourcepub fn build(self) -> Result<CreateAssetOutput, BuildError>
pub fn build(self) -> Result<CreateAssetOutput, BuildError>
Consumes the builder and constructs a CreateAssetOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateAssetOutputBuilder
impl Clone for CreateAssetOutputBuilder
source§fn clone(&self) -> CreateAssetOutputBuilder
fn clone(&self) -> CreateAssetOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAssetOutputBuilder
impl Debug for CreateAssetOutputBuilder
source§impl Default for CreateAssetOutputBuilder
impl Default for CreateAssetOutputBuilder
source§fn default() -> CreateAssetOutputBuilder
fn default() -> CreateAssetOutputBuilder
source§impl PartialEq for CreateAssetOutputBuilder
impl PartialEq for CreateAssetOutputBuilder
source§fn eq(&self, other: &CreateAssetOutputBuilder) -> bool
fn eq(&self, other: &CreateAssetOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.