Interface CreateDataSourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDataSourceRequest.Builder,
,CreateDataSourceRequest> DataZoneRequest.Builder
,SdkBuilder<CreateDataSourceRequest.Builder,
,CreateDataSourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDataSourceRequest
-
Method Summary
Modifier and TypeMethodDescriptionassetFormsInput
(Collection<FormInput> assetFormsInput) The metadata forms that are to be attached to the assets that this data source works with.assetFormsInput
(Consumer<FormInput.Builder>... assetFormsInput) The metadata forms that are to be attached to the assets that this data source works with.assetFormsInput
(FormInput... assetFormsInput) The metadata forms that are to be attached to the assets that this data source works with.clientToken
(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.default CreateDataSourceRequest.Builder
configuration
(Consumer<DataSourceConfigurationInput.Builder> configuration) Specifies the configuration of the data source.configuration
(DataSourceConfigurationInput configuration) Specifies the configuration of the data source.connectionIdentifier
(String connectionIdentifier) The ID of the connection.description
(String description) The description of the data source.domainIdentifier
(String domainIdentifier) The ID of the Amazon DataZone domain where the data source is created.enableSetting
(String enableSetting) Specifies whether the data source is enabled.enableSetting
(EnableSetting enableSetting) Specifies whether the data source is enabled.environmentIdentifier
(String environmentIdentifier) The unique identifier of the Amazon DataZone environment to which the data source publishes assets.The name of the data source.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectIdentifier
(String projectIdentifier) The identifier of the Amazon DataZone project in which you want to add this data source.publishOnImport
(Boolean publishOnImport) Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.default CreateDataSourceRequest.Builder
recommendation
(Consumer<RecommendationConfiguration.Builder> recommendation) Specifies whether the business name generation is to be enabled for this data source.recommendation
(RecommendationConfiguration recommendation) Specifies whether the business name generation is to be enabled for this data source.default CreateDataSourceRequest.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) The schedule of the data source runs.schedule
(ScheduleConfiguration schedule) The schedule of the data source runs.The type of the data source.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
assetFormsInput
The metadata forms that are to be attached to the assets that this data source works with.
- Parameters:
assetFormsInput
- The metadata forms that are to be attached to the assets that this data source works with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsInput
The metadata forms that are to be attached to the assets that this data source works with.
- Parameters:
assetFormsInput
- The metadata forms that are to be attached to the assets that this data source works with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsInput
The metadata forms that are to be attached to the assets that this data source works with.
This is a convenience method that creates an instance of theFormInput.Builder
avoiding the need to create one manually viaFormInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetFormsInput(List<FormInput>)
.- Parameters:
assetFormsInput
- a consumer that will call methods onFormInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
Specifies the configuration of the data source. It can be set to either
glueRunConfiguration
orredshiftRunConfiguration
.- Parameters:
configuration
- Specifies the configuration of the data source. It can be set to eitherglueRunConfiguration
orredshiftRunConfiguration
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateDataSourceRequest.Builder configuration(Consumer<DataSourceConfigurationInput.Builder> configuration) Specifies the configuration of the data source. It can be set to either
This is a convenience method that creates an instance of theglueRunConfiguration
orredshiftRunConfiguration
.DataSourceConfigurationInput.Builder
avoiding the need to create one manually viaDataSourceConfigurationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(DataSourceConfigurationInput)
.- Parameters:
configuration
- a consumer that will call methods onDataSourceConfigurationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionIdentifier
The ID of the connection.
- Parameters:
connectionIdentifier
- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the data source.
- Parameters:
description
- The description of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the Amazon DataZone domain where the data source is created.
- Parameters:
domainIdentifier
- The ID of the Amazon DataZone domain where the data source is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
Specifies whether the data source is enabled.
- Parameters:
enableSetting
- Specifies whether the data source is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableSetting
Specifies whether the data source is enabled.
- Parameters:
enableSetting
- Specifies whether the data source is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentIdentifier
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
- Parameters:
environmentIdentifier
- The unique identifier of the Amazon DataZone environment to which the data source publishes assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the data source.
- Parameters:
name
- The name of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectIdentifier
The identifier of the Amazon DataZone project in which you want to add this data source.
- Parameters:
projectIdentifier
- The identifier of the Amazon DataZone project in which you want to add this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publishOnImport
Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
- Parameters:
publishOnImport
- Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
Specifies whether the business name generation is to be enabled for this data source.
- Parameters:
recommendation
- Specifies whether the business name generation is to be enabled for this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default CreateDataSourceRequest.Builder recommendation(Consumer<RecommendationConfiguration.Builder> recommendation) Specifies whether the business name generation is to be enabled for this data source.
This is a convenience method that creates an instance of theRecommendationConfiguration.Builder
avoiding the need to create one manually viaRecommendationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendation(RecommendationConfiguration)
.- Parameters:
recommendation
- a consumer that will call methods onRecommendationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The schedule of the data source runs.
- Parameters:
schedule
- The schedule of the data source runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
The schedule of the data source runs.
This is a convenience method that creates an instance of theScheduleConfiguration.Builder
avoiding the need to create one manually viaScheduleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(ScheduleConfiguration)
.- Parameters:
schedule
- a consumer that will call methods onScheduleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for Amazon Web Services Glue and Amazon Redshift.
- Parameters:
type
- The type of the data source. In Amazon DataZone, you can use data sources to import technical metadata of assets (data) from the source databases or data warehouses into Amazon DataZone. In the current release of Amazon DataZone, you can create and run data sources for Amazon Web Services Glue and Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-