Struct aws_sdk_datazone::operation::create_data_source::builders::CreateDataSourceOutputBuilder
source · #[non_exhaustive]pub struct CreateDataSourceOutputBuilder { /* private fields */ }
Expand description
A builder for CreateDataSourceOutput
.
Implementations§
source§impl CreateDataSourceOutputBuilder
impl CreateDataSourceOutputBuilder
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 is created.
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 is 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 data source is created.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone project to which the data source is added.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The ID of the Amazon DataZone project to which the data source is added.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the Amazon DataZone project to which the data source is added.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
pub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn set_configuration(
self,
input: Option<DataSourceConfigurationOutput>
) -> Self
pub fn set_configuration( self, input: Option<DataSourceConfigurationOutput> ) -> Self
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
pub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn recommendation(self, input: RecommendationConfiguration) -> Self
pub fn recommendation(self, input: RecommendationConfiguration) -> Self
Specifies whether the business name generation is to be enabled for this data source.
sourcepub fn set_recommendation(
self,
input: Option<RecommendationConfiguration>
) -> Self
pub fn set_recommendation( self, input: Option<RecommendationConfiguration> ) -> Self
Specifies whether the business name generation is to be enabled for this data source.
sourcepub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
pub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
Specifies whether the business name generation is to be enabled for this data source.
sourcepub fn enable_setting(self, input: EnableSetting) -> Self
pub fn enable_setting(self, input: EnableSetting) -> Self
Specifies whether the data source is enabled.
sourcepub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
pub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
Specifies whether the data source is enabled.
sourcepub fn get_enable_setting(&self) -> &Option<EnableSetting>
pub fn get_enable_setting(&self) -> &Option<EnableSetting>
Specifies whether the data source is enabled.
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 that this data source creates.
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 that this data source creates.
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 that this data source creates.
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 this 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 this 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 this data source.
sourcepub fn last_run_at(self, input: DateTime) -> Self
pub fn last_run_at(self, input: DateTime) -> Self
The timestamp that specifies when the data source was last run.
sourcepub fn set_last_run_at(self, input: Option<DateTime>) -> Self
pub fn set_last_run_at(self, input: Option<DateTime>) -> Self
The timestamp that specifies when the data source was last run.
sourcepub fn get_last_run_at(&self) -> &Option<DateTime>
pub fn get_last_run_at(&self) -> &Option<DateTime>
The timestamp that specifies when the data source was last run.
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 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) -> CreateDataSourceOutput
pub fn build(self) -> CreateDataSourceOutput
Consumes the builder and constructs a CreateDataSourceOutput
.
Trait Implementations§
source§impl Clone for CreateDataSourceOutputBuilder
impl Clone for CreateDataSourceOutputBuilder
source§fn clone(&self) -> CreateDataSourceOutputBuilder
fn clone(&self) -> CreateDataSourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateDataSourceOutputBuilder
impl Default for CreateDataSourceOutputBuilder
source§fn default() -> CreateDataSourceOutputBuilder
fn default() -> CreateDataSourceOutputBuilder
source§impl PartialEq for CreateDataSourceOutputBuilder
impl PartialEq for CreateDataSourceOutputBuilder
source§fn eq(&self, other: &CreateDataSourceOutputBuilder) -> bool
fn eq(&self, other: &CreateDataSourceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.