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.
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 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.
This field is required.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.
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 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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the data source.
This field is required.sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of the data source.
This field is required.sourcepub fn status(self, input: DataSourceStatus) -> Self
pub fn status(self, input: DataSourceStatus) -> Self
The status of the data source.
This field is required.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) -> Result<DataSourceSummary, BuildError>
pub fn build(self) -> Result<DataSourceSummary, BuildError>
Consumes the builder and constructs a DataSourceSummary.
This method will fail if any of the following fields are not set:
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
impl StructuralPartialEq for DataSourceSummaryBuilder
Auto Trait Implementations§
impl Freeze for DataSourceSummaryBuilder
impl RefUnwindSafe for DataSourceSummaryBuilder
impl Send for DataSourceSummaryBuilder
impl Sync for DataSourceSummaryBuilder
impl Unpin for DataSourceSummaryBuilder
impl UnwindSafe for DataSourceSummaryBuilder
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