#[non_exhaustive]pub struct GetDataSourceOutputBuilder { /* private fields */ }
Expand description
A builder for GetDataSourceOutput
.
Implementations§
source§impl GetDataSourceOutputBuilder
impl GetDataSourceOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID 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.
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 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 description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the data source.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the data source.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the data source.
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 project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The ID of the project where the data source creates and publishes assets.
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 ID of the project where the data source creates and publishes assets.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The ID of the project where the data source creates and publishes assets.
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 where this data source creates and publishes assets,
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 where this data source creates and publishes assets,
sourcepub fn get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
The ID of the environment where this data source creates and publishes assets,
sourcepub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
pub fn configuration(self, input: DataSourceConfigurationOutput) -> Self
The configuration of the data source.
sourcepub fn set_configuration(
self,
input: Option<DataSourceConfigurationOutput>,
) -> Self
pub fn set_configuration( self, input: Option<DataSourceConfigurationOutput>, ) -> Self
The configuration of the data source.
sourcepub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
pub fn get_configuration(&self) -> &Option<DataSourceConfigurationOutput>
The configuration of the data source.
sourcepub fn recommendation(self, input: RecommendationConfiguration) -> Self
pub fn recommendation(self, input: RecommendationConfiguration) -> Self
The recommendation configuration of the data source.
sourcepub fn set_recommendation(
self,
input: Option<RecommendationConfiguration>,
) -> Self
pub fn set_recommendation( self, input: Option<RecommendationConfiguration>, ) -> Self
The recommendation configuration of the data source.
sourcepub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
pub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
The recommendation configuration of the data source.
sourcepub fn enable_setting(self, input: EnableSetting) -> Self
pub fn enable_setting(self, input: EnableSetting) -> Self
Specifies whether this data source is enabled or not.
sourcepub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
pub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
Specifies whether this data source is enabled or not.
sourcepub fn get_enable_setting(&self) -> &Option<EnableSetting>
pub fn get_enable_setting(&self) -> &Option<EnableSetting>
Specifies whether this data source is enabled or not.
sourcepub fn publish_on_import(self, input: bool) -> Self
pub fn publish_on_import(self, input: bool) -> Self
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn set_publish_on_import(self, input: Option<bool>) -> Self
pub fn set_publish_on_import(self, input: Option<bool>) -> Self
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn get_publish_on_import(&self) -> &Option<bool>
pub fn get_publish_on_import(&self) -> &Option<bool>
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
sourcepub fn asset_forms_output(self, input: FormOutput) -> Self
pub fn asset_forms_output(self, input: FormOutput) -> Self
Appends an item to asset_forms_output
.
To override the contents of this collection use set_asset_forms_output
.
The metadata forms attached to the assets created by this data source.
sourcepub fn set_asset_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_asset_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The metadata forms attached to the assets created by this data source.
sourcepub fn get_asset_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_asset_forms_output(&self) -> &Option<Vec<FormOutput>>
The metadata forms attached to the assets created by this data source.
sourcepub fn schedule(self, input: ScheduleConfiguration) -> Self
pub fn schedule(self, input: ScheduleConfiguration) -> Self
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 schedule of the data source runs.
sourcepub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
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 run of the data source.
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 run of the data source.
sourcepub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
pub fn get_last_run_status(&self) -> &Option<DataSourceRunStatus>
The status of the last run of the data source.
sourcepub fn last_run_at(self, input: DateTime) -> Self
pub fn last_run_at(self, input: DateTime) -> Self
The timestamp of the last run of the data source.
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 the last run of the data source.
sourcepub fn get_last_run_at(&self) -> &Option<DateTime>
pub fn get_last_run_at(&self) -> &Option<DateTime>
The timestamp of the last run of the data source.
sourcepub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
pub fn last_run_error_message(self, input: DataSourceErrorMessage) -> Self
Specifies 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
Specifies 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>
Specifies 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 number of assets created by the data source during its last 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 number of assets created by the data source during its last run.
sourcepub fn get_last_run_asset_count(&self) -> &Option<i32>
pub fn get_last_run_asset_count(&self) -> &Option<i32>
The number of assets created by the data source during its last run.
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 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 self_grant_status(self, input: SelfGrantStatusOutput) -> Self
pub fn self_grant_status(self, input: SelfGrantStatusOutput) -> Self
Specifies the status of the self-granting functionality.
sourcepub fn set_self_grant_status(self, input: Option<SelfGrantStatusOutput>) -> Self
pub fn set_self_grant_status(self, input: Option<SelfGrantStatusOutput>) -> Self
Specifies the status of the self-granting functionality.
sourcepub fn get_self_grant_status(&self) -> &Option<SelfGrantStatusOutput>
pub fn get_self_grant_status(&self) -> &Option<SelfGrantStatusOutput>
Specifies the status of the self-granting functionality.
sourcepub fn build(self) -> Result<GetDataSourceOutput, BuildError>
pub fn build(self) -> Result<GetDataSourceOutput, BuildError>
Consumes the builder and constructs a GetDataSourceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetDataSourceOutputBuilder
impl Clone for GetDataSourceOutputBuilder
source§fn clone(&self) -> GetDataSourceOutputBuilder
fn clone(&self) -> GetDataSourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetDataSourceOutputBuilder
impl Debug for GetDataSourceOutputBuilder
source§impl Default for GetDataSourceOutputBuilder
impl Default for GetDataSourceOutputBuilder
source§fn default() -> GetDataSourceOutputBuilder
fn default() -> GetDataSourceOutputBuilder
impl StructuralPartialEq for GetDataSourceOutputBuilder
Auto Trait Implementations§
impl Freeze for GetDataSourceOutputBuilder
impl RefUnwindSafe for GetDataSourceOutputBuilder
impl Send for GetDataSourceOutputBuilder
impl Sync for GetDataSourceOutputBuilder
impl Unpin for GetDataSourceOutputBuilder
impl UnwindSafe for GetDataSourceOutputBuilder
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