Struct aws_sdk_datazone::operation::update_data_source::builders::UpdateDataSourceFluentBuilder
source · pub struct UpdateDataSourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDataSource
.
Updates the specified data source in Amazon DataZone.
Implementations§
source§impl UpdateDataSourceFluentBuilder
impl UpdateDataSourceFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDataSourceInputBuilder
pub fn as_input(&self) -> &UpdateDataSourceInputBuilder
Access the UpdateDataSource as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDataSourceOutput, SdkError<UpdateDataSourceError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDataSourceOutput, UpdateDataSourceError, Self>, SdkError<UpdateDataSourceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateDataSourceOutput, UpdateDataSourceError, Self>, SdkError<UpdateDataSourceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The identifier of the domain in which to update a data source.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The identifier of the domain in which to update a data source.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The identifier of the domain in which to update a data source.
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
The identifier of the data source to be updated.
sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
The identifier of the data source to be updated.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
The identifier of the data source to be updated.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name to be updated as part of the UpdateDataSource
action.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name to be updated as part of the UpdateDataSource
action.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name to be updated as part of the UpdateDataSource
action.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description to be updated as part of the UpdateDataSource
action.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description to be updated as part of the UpdateDataSource
action.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description to be updated as part of the UpdateDataSource
action.
sourcepub fn enable_setting(self, input: EnableSetting) -> Self
pub fn enable_setting(self, input: EnableSetting) -> Self
The enable setting to be updated as part of the UpdateDataSource
action.
sourcepub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
pub fn set_enable_setting(self, input: Option<EnableSetting>) -> Self
The enable setting to be updated as part of the UpdateDataSource
action.
sourcepub fn get_enable_setting(&self) -> &Option<EnableSetting>
pub fn get_enable_setting(&self) -> &Option<EnableSetting>
The enable setting to be updated as part of the UpdateDataSource
action.
sourcepub fn publish_on_import(self, input: bool) -> Self
pub fn publish_on_import(self, input: bool) -> Self
The publish on import setting to be updated as part of the UpdateDataSource
action.
sourcepub fn set_publish_on_import(self, input: Option<bool>) -> Self
pub fn set_publish_on_import(self, input: Option<bool>) -> Self
The publish on import setting to be updated as part of the UpdateDataSource
action.
sourcepub fn get_publish_on_import(&self) -> &Option<bool>
pub fn get_publish_on_import(&self) -> &Option<bool>
The publish on import setting to be updated as part of the UpdateDataSource
action.
sourcepub fn asset_forms_input(self, input: FormInput) -> Self
pub fn asset_forms_input(self, input: FormInput) -> Self
Appends an item to assetFormsInput
.
To override the contents of this collection use set_asset_forms_input
.
The asset forms to be updated as part of the UpdateDataSource
action.
sourcepub fn set_asset_forms_input(self, input: Option<Vec<FormInput>>) -> Self
pub fn set_asset_forms_input(self, input: Option<Vec<FormInput>>) -> Self
The asset forms to be updated as part of the UpdateDataSource
action.
sourcepub fn get_asset_forms_input(&self) -> &Option<Vec<FormInput>>
pub fn get_asset_forms_input(&self) -> &Option<Vec<FormInput>>
The asset forms to be updated as part of the UpdateDataSource
action.
sourcepub fn schedule(self, input: ScheduleConfiguration) -> Self
pub fn schedule(self, input: ScheduleConfiguration) -> Self
The schedule to be updated as part of the UpdateDataSource
action.
sourcepub fn set_schedule(self, input: Option<ScheduleConfiguration>) -> Self
pub fn set_schedule(self, input: Option<ScheduleConfiguration>) -> Self
The schedule to be updated as part of the UpdateDataSource
action.
sourcepub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
pub fn get_schedule(&self) -> &Option<ScheduleConfiguration>
The schedule to be updated as part of the UpdateDataSource
action.
sourcepub fn configuration(self, input: DataSourceConfigurationInput) -> Self
pub fn configuration(self, input: DataSourceConfigurationInput) -> Self
The configuration to be updated as part of the UpdateDataSource
action.
sourcepub fn set_configuration(
self,
input: Option<DataSourceConfigurationInput>
) -> Self
pub fn set_configuration( self, input: Option<DataSourceConfigurationInput> ) -> Self
The configuration to be updated as part of the UpdateDataSource
action.
sourcepub fn get_configuration(&self) -> &Option<DataSourceConfigurationInput>
pub fn get_configuration(&self) -> &Option<DataSourceConfigurationInput>
The configuration to be updated as part of the UpdateDataSource
action.
sourcepub fn recommendation(self, input: RecommendationConfiguration) -> Self
pub fn recommendation(self, input: RecommendationConfiguration) -> Self
The recommendation to be updated as part of the UpdateDataSource
action.
sourcepub fn set_recommendation(
self,
input: Option<RecommendationConfiguration>
) -> Self
pub fn set_recommendation( self, input: Option<RecommendationConfiguration> ) -> Self
The recommendation to be updated as part of the UpdateDataSource
action.
sourcepub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
pub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
The recommendation to be updated as part of the UpdateDataSource
action.
Trait Implementations§
source§impl Clone for UpdateDataSourceFluentBuilder
impl Clone for UpdateDataSourceFluentBuilder
source§fn clone(&self) -> UpdateDataSourceFluentBuilder
fn clone(&self) -> UpdateDataSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more