Struct aws_sdk_datazone::operation::start_data_source_run::builders::StartDataSourceRunOutputBuilder
source · #[non_exhaustive]pub struct StartDataSourceRunOutputBuilder { /* private fields */ }
Expand description
A builder for StartDataSourceRunOutput
.
Implementations§
source§impl StartDataSourceRunOutputBuilder
impl StartDataSourceRunOutputBuilder
sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone domain in which to start a data source run.
This field is required.sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone domain in which to start a data source run.
sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
The identifier of the Amazon DataZone domain in which to start a data source run.
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.
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.
sourcepub fn get_data_source_id(&self) -> &Option<String>
pub fn get_data_source_id(&self) -> &Option<String>
The identifier of the data source.
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 project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The identifier of the project.
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 identifier of the project.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The identifier of the project.
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 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 data_source_configuration_snapshot(
self,
input: impl Into<String>,
) -> Self
pub fn data_source_configuration_snapshot( self, input: impl Into<String>, ) -> Self
The configuration snapshot of the data source that is being run.
sourcepub fn set_data_source_configuration_snapshot(
self,
input: Option<String>,
) -> Self
pub fn set_data_source_configuration_snapshot( self, input: Option<String>, ) -> Self
The configuration snapshot of the data source that is being run.
sourcepub fn get_data_source_configuration_snapshot(&self) -> &Option<String>
pub fn get_data_source_configuration_snapshot(&self) -> &Option<String>
The configuration snapshot of the data source that is being run.
sourcepub fn run_statistics_for_assets(self, input: RunStatisticsForAssets) -> Self
pub fn run_statistics_for_assets(self, input: RunStatisticsForAssets) -> Self
Specifies run statistics for assets.
sourcepub fn set_run_statistics_for_assets(
self,
input: Option<RunStatisticsForAssets>,
) -> Self
pub fn set_run_statistics_for_assets( self, input: Option<RunStatisticsForAssets>, ) -> Self
Specifies run statistics for assets.
sourcepub fn get_run_statistics_for_assets(&self) -> &Option<RunStatisticsForAssets>
pub fn get_run_statistics_for_assets(&self) -> &Option<RunStatisticsForAssets>
Specifies run statistics for assets.
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 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 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 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the 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 the data source run was stopped.
sourcepub fn build(self) -> Result<StartDataSourceRunOutput, BuildError>
pub fn build(self) -> Result<StartDataSourceRunOutput, BuildError>
Consumes the builder and constructs a StartDataSourceRunOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StartDataSourceRunOutputBuilder
impl Clone for StartDataSourceRunOutputBuilder
source§fn clone(&self) -> StartDataSourceRunOutputBuilder
fn clone(&self) -> StartDataSourceRunOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for StartDataSourceRunOutputBuilder
impl Default for StartDataSourceRunOutputBuilder
source§fn default() -> StartDataSourceRunOutputBuilder
fn default() -> StartDataSourceRunOutputBuilder
source§impl PartialEq for StartDataSourceRunOutputBuilder
impl PartialEq for StartDataSourceRunOutputBuilder
source§fn eq(&self, other: &StartDataSourceRunOutputBuilder) -> bool
fn eq(&self, other: &StartDataSourceRunOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StartDataSourceRunOutputBuilder
Auto Trait Implementations§
impl Freeze for StartDataSourceRunOutputBuilder
impl RefUnwindSafe for StartDataSourceRunOutputBuilder
impl Send for StartDataSourceRunOutputBuilder
impl Sync for StartDataSourceRunOutputBuilder
impl Unpin for StartDataSourceRunOutputBuilder
impl UnwindSafe for StartDataSourceRunOutputBuilder
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