#[non_exhaustive]pub struct DataSourceRunSummaryBuilder { /* private fields */ }
Expand description
A builder for DataSourceRunSummary
.
Implementations§
source§impl DataSourceRunSummaryBuilder
impl DataSourceRunSummaryBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the data source run.
This field is required.sourcepub fn data_source_id(self, input: impl Into<String>) -> Self
pub fn data_source_id(self, input: impl Into<String>) -> Self
The identifier of the data source of the data source run.
This field is required.sourcepub fn set_data_source_id(self, input: Option<String>) -> Self
pub fn set_data_source_id(self, input: Option<String>) -> Self
The identifier of the data source of the data source run.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The identifier of the data source of the data source run.
sourcepub fn type(self, input: DataSourceRunType) -> Self
pub fn type(self, input: DataSourceRunType) -> Self
The type of the data source run.
This field is required.sourcepub fn set_type(self, input: Option<DataSourceRunType>) -> Self
pub fn set_type(self, input: Option<DataSourceRunType>) -> Self
The type of the data source run.
sourcepub fn get_type(&self) -> &Option<DataSourceRunType>
pub fn get_type(&self) -> &Option<DataSourceRunType>
The type of the data source run.
sourcepub fn status(self, input: DataSourceRunStatus) -> Self
pub fn status(self, input: DataSourceRunStatus) -> Self
The status of the data source run.
This field is required.sourcepub fn set_status(self, input: Option<DataSourceRunStatus>) -> Self
pub fn set_status(self, input: Option<DataSourceRunStatus>) -> Self
The status of the data source run.
sourcepub fn get_status(&self) -> &Option<DataSourceRunStatus>
pub fn get_status(&self) -> &Option<DataSourceRunStatus>
The status of the data source run.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The project ID of the data source run.
This field is required.sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The project ID of the data source run.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The project ID of the data source run.
sourcepub fn run_statistics_for_assets(self, input: RunStatisticsForAssets) -> Self
pub fn run_statistics_for_assets(self, input: RunStatisticsForAssets) -> Self
The asset statistics from the data source run.
sourcepub fn set_run_statistics_for_assets(
self,
input: Option<RunStatisticsForAssets>
) -> Self
pub fn set_run_statistics_for_assets( self, input: Option<RunStatisticsForAssets> ) -> Self
The asset statistics from the data source run.
sourcepub fn get_run_statistics_for_assets(&self) -> &Option<RunStatisticsForAssets>
pub fn get_run_statistics_for_assets(&self) -> &Option<RunStatisticsForAssets>
The asset statistics from the data source run.
sourcepub fn error_message(self, input: DataSourceErrorMessage) -> Self
pub fn 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_error_message(self, input: Option<DataSourceErrorMessage>) -> Self
pub fn set_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_error_message(&self) -> &Option<DataSourceErrorMessage>
pub fn get_error_message(&self) -> &Option<DataSourceErrorMessage>
The details of 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 a data source run was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The timestamp of when a data source run was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The timestamp of when a data source run was created.
sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp of when a data source run was updated.
This field is required.sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp of when a data source run was updated.
sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp of when a data source run was updated.
sourcepub fn started_at(self, input: DateTime) -> Self
pub fn started_at(self, input: DateTime) -> Self
The timestamp of when a data source run was started.
sourcepub fn set_started_at(self, input: Option<DateTime>) -> Self
pub fn set_started_at(self, input: Option<DateTime>) -> Self
The timestamp of when a data source run was started.
sourcepub fn get_started_at(&self) -> &Option<DateTime>
pub fn get_started_at(&self) -> &Option<DateTime>
The timestamp of when a data source run was started.
sourcepub fn stopped_at(self, input: DateTime) -> Self
pub fn stopped_at(self, input: DateTime) -> Self
The timestamp of when a data source run was stopped.
sourcepub fn set_stopped_at(self, input: Option<DateTime>) -> Self
pub fn set_stopped_at(self, input: Option<DateTime>) -> Self
The timestamp of when a data source run was stopped.
sourcepub fn get_stopped_at(&self) -> &Option<DateTime>
pub fn get_stopped_at(&self) -> &Option<DateTime>
The timestamp of when a data source run was stopped.
sourcepub fn build(self) -> Result<DataSourceRunSummary, BuildError>
pub fn build(self) -> Result<DataSourceRunSummary, BuildError>
Consumes the builder and constructs a DataSourceRunSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DataSourceRunSummaryBuilder
impl Clone for DataSourceRunSummaryBuilder
source§fn clone(&self) -> DataSourceRunSummaryBuilder
fn clone(&self) -> DataSourceRunSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataSourceRunSummaryBuilder
impl Debug for DataSourceRunSummaryBuilder
source§impl Default for DataSourceRunSummaryBuilder
impl Default for DataSourceRunSummaryBuilder
source§fn default() -> DataSourceRunSummaryBuilder
fn default() -> DataSourceRunSummaryBuilder
source§impl PartialEq for DataSourceRunSummaryBuilder
impl PartialEq for DataSourceRunSummaryBuilder
source§fn eq(&self, other: &DataSourceRunSummaryBuilder) -> bool
fn eq(&self, other: &DataSourceRunSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.