#[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
impl StructuralPartialEq for DataSourceRunSummaryBuilder
Auto Trait Implementations§
impl Freeze for DataSourceRunSummaryBuilder
impl RefUnwindSafe for DataSourceRunSummaryBuilder
impl Send for DataSourceRunSummaryBuilder
impl Sync for DataSourceRunSummaryBuilder
impl Unpin for DataSourceRunSummaryBuilder
impl UnwindSafe for DataSourceRunSummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more