Struct aws_sdk_datazone::operation::create_data_source::builders::CreateDataSourceInputBuilder
source · #[non_exhaustive]pub struct CreateDataSourceInputBuilder { /* private fields */ }
Expand description
A builder for CreateDataSourceInput
.
Implementations§
source§impl CreateDataSourceInputBuilder
impl CreateDataSourceInputBuilder
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 asset_forms_input
.
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.
sourcepub fn build(self) -> Result<CreateDataSourceInput, BuildError>
pub fn build(self) -> Result<CreateDataSourceInput, BuildError>
Consumes the builder and constructs a CreateDataSourceInput
.
source§impl CreateDataSourceInputBuilder
impl CreateDataSourceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDataSourceOutput, SdkError<CreateDataSourceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDataSourceInputBuilder
impl Clone for CreateDataSourceInputBuilder
source§fn clone(&self) -> CreateDataSourceInputBuilder
fn clone(&self) -> CreateDataSourceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDataSourceInputBuilder
impl Debug for CreateDataSourceInputBuilder
source§impl Default for CreateDataSourceInputBuilder
impl Default for CreateDataSourceInputBuilder
source§fn default() -> CreateDataSourceInputBuilder
fn default() -> CreateDataSourceInputBuilder
source§impl PartialEq for CreateDataSourceInputBuilder
impl PartialEq for CreateDataSourceInputBuilder
source§fn eq(&self, other: &CreateDataSourceInputBuilder) -> bool
fn eq(&self, other: &CreateDataSourceInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.