Struct aws_sdk_datazone::operation::create_data_source::builders::CreateDataSourceFluentBuilder
source · pub struct CreateDataSourceFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDataSource
.
Creates an Amazon DataZone data source.
Implementations§
source§impl CreateDataSourceFluentBuilder
impl CreateDataSourceFluentBuilder
sourcepub fn as_input(&self) -> &CreateDataSourceInputBuilder
pub fn as_input(&self) -> &CreateDataSourceInputBuilder
Access the CreateDataSource as a reference.
sourcepub async fn send(
self
) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError, 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<CreateDataSourceOutput, CreateDataSourceError, Self>, SdkError<CreateDataSourceError>>
pub async fn customize( self ) -> Result<CustomizableOperation<CreateDataSourceOutput, CreateDataSourceError, Self>, SdkError<CreateDataSourceError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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_identifier(self, input: impl Into<String>) -> Self
pub fn domain_identifier(self, input: impl Into<String>) -> Self
The ID of the Amazon DataZone domain where the data source is created.
sourcepub fn set_domain_identifier(self, input: Option<String>) -> Self
pub fn set_domain_identifier(self, input: Option<String>) -> Self
The ID of the Amazon DataZone domain where the data source is created.
sourcepub fn get_domain_identifier(&self) -> &Option<String>
pub fn get_domain_identifier(&self) -> &Option<String>
The ID of the Amazon DataZone domain where the data source is created.
sourcepub fn project_identifier(self, input: impl Into<String>) -> Self
pub fn project_identifier(self, input: impl Into<String>) -> Self
The identifier of the Amazon DataZone project in which you want to add this data source.
sourcepub fn set_project_identifier(self, input: Option<String>) -> Self
pub fn set_project_identifier(self, input: Option<String>) -> Self
The identifier of the Amazon DataZone project in which you want to add this data source.
sourcepub fn get_project_identifier(&self) -> &Option<String>
pub fn get_project_identifier(&self) -> &Option<String>
The identifier of the Amazon DataZone project in which you want to add this data source.
sourcepub fn environment_identifier(self, input: impl Into<String>) -> Self
pub fn environment_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn set_environment_identifier(self, input: Option<String>) -> Self
pub fn set_environment_identifier(self, input: Option<String>) -> Self
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn get_environment_identifier(&self) -> &Option<String>
pub fn get_environment_identifier(&self) -> &Option<String>
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
sourcepub fn configuration(self, input: DataSourceConfigurationInput) -> Self
pub fn configuration(self, input: DataSourceConfigurationInput) -> Self
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn set_configuration(
self,
input: Option<DataSourceConfigurationInput>
) -> Self
pub fn set_configuration( self, input: Option<DataSourceConfigurationInput> ) -> Self
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn get_configuration(&self) -> &Option<DataSourceConfigurationInput>
pub fn get_configuration(&self) -> &Option<DataSourceConfigurationInput>
Specifies the configuration of the data source. It can be set to either glueRunConfiguration
or redshiftRunConfiguration
.
sourcepub fn recommendation(self, input: RecommendationConfiguration) -> Self
pub fn recommendation(self, input: RecommendationConfiguration) -> Self
Specifies whether the business name generation is to be enabled for this data source.
sourcepub fn set_recommendation(
self,
input: Option<RecommendationConfiguration>
) -> Self
pub fn set_recommendation( self, input: Option<RecommendationConfiguration> ) -> Self
Specifies whether the business name generation is to be enabled for this data source.
sourcepub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
pub fn get_recommendation(&self) -> &Option<RecommendationConfiguration>
Specifies whether the business name generation is to be enabled for this 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 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 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_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 metadata forms that are to be attached to the assets that this data source works with.
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 metadata forms that are to be attached to the assets that this data source works with.
sourcepub fn get_asset_forms_input(&self) -> &Option<Vec<FormInput>>
pub fn get_asset_forms_input(&self) -> &Option<Vec<FormInput>>
The metadata forms that are to be attached to the assets that this data source works with.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Trait Implementations§
source§impl Clone for CreateDataSourceFluentBuilder
impl Clone for CreateDataSourceFluentBuilder
source§fn clone(&self) -> CreateDataSourceFluentBuilder
fn clone(&self) -> CreateDataSourceFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more