Struct aws_sdk_datazone::types::builders::DataSourceSummaryBuilder
source · #[non_exhaustive]pub struct DataSourceSummaryBuilder { /* private fields */ }
Expand description
A builder for DataSourceSummary
.
Implementations§
source§impl DataSourceSummaryBuilder
impl DataSourceSummaryBuilder
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 environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
The ID of the environment in which the data source exists.
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 in which the data source exists.
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment in which the data source exists.
sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The ID of the data source.
sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The ID of the data source.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The ID of the data source.
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 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 schedule(self, input: ScheduleConfiguration) -> Self
pub fn schedule(self, input: ScheduleConfiguration) -> Self
The details of 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 details of the schedule of the data source runs.
sourcepub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
The details of 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 data source run.
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 data source run.
sourcepub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
pub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
The status of the last data source run.
sourcepub fn last_run_at(self, input: DateTime) -> Self
pub fn last_run_at(self, input: DateTime) -> Self
The timestamp of when the data source run was last performed.
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 when the data source run was last performed.
sourcepub fn get_last_run_at(&self) -> &Option<DateTime>
pub fn get_last_run_at(&self) -> &Option<DateTime>
The timestamp of when the data source run was last performed.
sourcepub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
pub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
The details of 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
The details of 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>
The details of 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 count of the assets created during the last data source 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 count of the assets created during the last data source run.
sourcepub fn get_last_run_asset_count(&self) -> &Option<i32>
pub fn get_last_run_asset_count(&self) -> &Option<i32>
The count of the assets created during the last data source run.
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) -> DataSourceSummary
pub fn build(self) -> DataSourceSummary
Consumes the builder and constructs a DataSourceSummary
.
Trait Implementations§
source§impl Clone for DataSourceSummaryBuilder
impl Clone for DataSourceSummaryBuilder
source§fn clone(&self) -> DataSourceSummaryBuilder
fn clone(&self) -> DataSourceSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataSourceSummaryBuilder
impl Debug for DataSourceSummaryBuilder
source§impl Default for DataSourceSummaryBuilder
impl Default for DataSourceSummaryBuilder
source§fn default() -> DataSourceSummaryBuilder
fn default() -> DataSourceSummaryBuilder
source§impl PartialEq for DataSourceSummaryBuilder
impl PartialEq for DataSourceSummaryBuilder
source§fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
fn eq(&self, other: &DataSourceSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.