#[non_exhaustive]pub struct GetDataSourceOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataSourceOutput
.
Implementations§
source§impl GetDataSourceOutputBuilder
impl GetDataSourceOutputBuilder
sourcepub fn status(self, input: DataSourceStatus) -> Self
pub fn status(self, input: DataSourceStatus) -> Self
The status of the data source.
sourcepub fn set_status(self, input: Option<DataSourceStatus>) -> Self
pub fn set_status(self, input: Option<DataSourceStatus>) -> Self
The status of the data source.
sourcepub fn get_status(&self) -> &Option<DataSourceStatus>
pub fn get_status(&self) -> &Option<DataSourceStatus>
The status of the data source.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the data source.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the data source.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the data source.
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 data source exists.
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 data source exists.
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 data source exists.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project where the data source creates and publishes assets.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the project where the data source creates and publishes assets.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project where the data source creates and publishes assets.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment where this data source creates and publishes assets,
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The ID of the environment where this data source creates and publishes assets,
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment where this data source creates and publishes assets,
sourcepub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
pub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
The configuration of the data source.
sourcepub fn set_configuration(
self,
input: Option<DataSourceConfigurationOutput>
) -> Self
pub fn set_configuration( self, input: Option<DataSourceConfigurationOutput> ) -> Self
The configuration of the data source.
sourcepub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
pub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
The configuration of the data source.
sourcepub fn recommendation(self, input: RecommendationConfiguration) -> Self
pub fn recommendation(self, input: RecommendationConfiguration) -> Self
sourcepub fn set_recommendation(
self,
input: Option<RecommendationConfiguration>
) -> Self
pub fn set_recommendation( self, input: Option<RecommendationConfiguration> ) -> Self
sourcepub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
pub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
sourcepub fn enable_setting(self, input: EnableSetting) -> Self
pub fn enable_setting(self, input: EnableSetting) -> Self
Specifies whether this data source is enabled or not.
sourcepub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
pub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
Specifies whether this data source is enabled or not.
sourcepub fn get_enable_setting(&self) -> &Option<EnableSetting>
pub fn get_enable_setting(&self) -> &Option<EnableSetting>
Specifies whether this data source is enabled or not.
sourcepub fn publish_on_import(self, input: bool) -> Self
pub fn publish_on_import(self, input: bool) -> Self
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn set_publish_on_import(self, input: Option<bool>) -> Self
pub fn set_publish_on_import(self, input: Option<bool>) -> Self
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn get_publish_on_import(&self) -> &Option<bool>
pub fn get_publish_on_import(&self) -> &Option<bool>
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn asset_forms_output(self, input: FormOutput) -> Self
pub fn asset_forms_output(self, input: FormOutput) -> Self
Appends an item to asset_forms_output
.
To override the contents of this collection use set_asset_forms_output
.
The metadata forms attached to the assets created by this data source.
sourcepub fn set_asset_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_asset_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The metadata forms attached to the assets created by this data source.
sourcepub fn get_asset_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_asset_forms_output(&self) -> &Option<Vec<FormOutput>>
The metadata forms attached to the assets created by this data source.
sourcepub fn schedule(self, input: ScheduleConfiguration) -> Self
pub fn schedule(self, input: ScheduleConfiguration) -> Self
The schedule of the data source runs.
sourcepub fn set_schedule(self, input: Option<ScheduleConfiguration>) -> Self
pub fn set_schedule(self, input: Option<ScheduleConfiguration>) -> Self
The schedule of the data source runs.
sourcepub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
The schedule of the data source runs.
sourcepub fn last_run_status(self, input: DataSourceRunStatus) -> Self
pub fn last_run_status(self, input: DataSourceRunStatus) -> Self
The status of the last run of the data source.
sourcepub fn set_last_run_status(self, input: Option<DataSourceRunStatus>) -> Self
pub fn set_last_run_status(self, input: Option<DataSourceRunStatus>) -> Self
The status of the last run of the data source.
sourcepub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
pub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
The status of the last run of the data source.
sourcepub fn last_run_at(self, input: DateTime) -> Self
pub fn last_run_at(self, input: DateTime) -> Self
The timestamp of the last run of the data source.
sourcepub fn set_last_run_at(self, input: Option<DateTime>) -> Self
pub fn set_last_run_at(self, input: Option<DateTime>) -> Self
The timestamp of the last run of the data source.
sourcepub fn get_last_run_at(&self) -> &Option<DateTime>
pub fn get_last_run_at(&self) -> &Option<DateTime>
The timestamp of the last run of the data source.
sourcepub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
pub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn set_last_run_error_message(
self,
input: Option<DataSourceErrorMessage>
) -> Self
pub fn set_last_run_error_message( self, input: Option<DataSourceErrorMessage> ) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn get_last_run_error_message(&self) -> &Option<DataSourceErrorMessage>
pub fn get_last_run_error_message(&self) -> &Option<DataSourceErrorMessage>
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn last_run_asset_count(self, input: i32) -> Self
pub fn last_run_asset_count(self, input: i32) -> Self
The number of assets created by the data source during its last run.
sourcepub fn set_last_run_asset_count(self, input: Option<i32>) -> Self
pub fn set_last_run_asset_count(self, input: Option<i32>) -> Self
The number of assets created by the data source during its last run.
sourcepub fn get_last_run_asset_count(&self) -> &Option<i32>
pub fn get_last_run_asset_count(&self) -> &Option<i32>
The number of assets created by the data source during its last run.
sourcepub fn error_message(self, input: DataSourceErrorMessage) -> Self
pub fn error_message(self, input: DataSourceErrorMessage) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn set_error_message(self, input: Option<DataSourceErrorMessage>) -> Self
pub fn set_error_message(self, input: Option<DataSourceErrorMessage>) -> Self
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn get_error_message(&self) -> &Option<DataSourceErrorMessage>
pub fn get_error_message(&self) -> &Option<DataSourceErrorMessage>
Specifies the error message that is returned if the operation cannot be successfully completed.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The timestamp of when the data source 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 data source was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when the data source was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when the data source was updated.
sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when the data source was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when the data source was updated.
sourcepub fn build(self) -> GetDataSourceOutput
pub fn build(self) -> GetDataSourceOutput
Consumes the builder and constructs a GetDataSourceOutput
.
Trait Implementations§
source§impl Clone for GetDataSourceOutputBuilder
impl Clone for GetDataSourceOutputBuilder
source§fn clone(&self) -> GetDataSourceOutputBuilder
fn clone(&self) -> GetDataSourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDataSourceOutputBuilder
impl Debug for GetDataSourceOutputBuilder
source§impl Default for GetDataSourceOutputBuilder
impl Default for GetDataSourceOutputBuilder
source§fn default() -> GetDataSourceOutputBuilder
fn default() -> GetDataSourceOutputBuilder
source§impl PartialEq for GetDataSourceOutputBuilder
impl PartialEq for GetDataSourceOutputBuilder
source§fn eq(&self, other: &GetDataSourceOutputBuilder) -> bool
fn eq(&self, other: &GetDataSourceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.