Interface CreateDataSourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>,DataZoneRequest.Builder,SdkBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDataSourceRequest
public static interface CreateDataSourceRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateDataSourceRequest.Builder,CreateDataSourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDataSourceRequest.BuilderassetFormsInput(Collection<FormInput> assetFormsInput)The metadata forms that are to be attached to the assets that this data source works with.CreateDataSourceRequest.BuilderassetFormsInput(Consumer<FormInput.Builder>... assetFormsInput)The metadata forms that are to be attached to the assets that this data source works with.CreateDataSourceRequest.BuilderassetFormsInput(FormInput... assetFormsInput)The metadata forms that are to be attached to the assets that this data source works with.CreateDataSourceRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.default CreateDataSourceRequest.Builderconfiguration(Consumer<DataSourceConfigurationInput.Builder> configuration)Specifies the configuration of the data source.CreateDataSourceRequest.Builderconfiguration(DataSourceConfigurationInput configuration)Specifies the configuration of the data source.CreateDataSourceRequest.Builderdescription(String description)The description of the data source.CreateDataSourceRequest.BuilderdomainIdentifier(String domainIdentifier)The ID of the Amazon DataZone domain where the data source is created.CreateDataSourceRequest.BuilderenableSetting(String enableSetting)Specifies whether the data source is enabled.CreateDataSourceRequest.BuilderenableSetting(EnableSetting enableSetting)Specifies whether the data source is enabled.CreateDataSourceRequest.BuilderenvironmentIdentifier(String environmentIdentifier)The unique identifier of the Amazon DataZone environment to which the data source publishes assets.CreateDataSourceRequest.Buildername(String name)The name of the data source.CreateDataSourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDataSourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDataSourceRequest.BuilderprojectIdentifier(String projectIdentifier)The identifier of the Amazon DataZone project in which you want to add this data source.CreateDataSourceRequest.BuilderpublishOnImport(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.Builderrecommendation(Consumer<RecommendationConfiguration.Builder> recommendation)Specifies whether the business name generation is to be enabled for this data source.CreateDataSourceRequest.Builderrecommendation(RecommendationConfiguration recommendation)Specifies whether the business name generation is to be enabled for this data source.default CreateDataSourceRequest.Builderschedule(Consumer<ScheduleConfiguration.Builder> schedule)The schedule of the data source runs.CreateDataSourceRequest.Builderschedule(ScheduleConfiguration schedule)The schedule of the data source runs.CreateDataSourceRequest.Buildertype(String type)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, sdkFields
-
-
-
-
Method Detail
-
assetFormsInput
CreateDataSourceRequest.Builder assetFormsInput(Collection<FormInput> 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
CreateDataSourceRequest.Builder assetFormsInput(FormInput... 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
CreateDataSourceRequest.Builder assetFormsInput(Consumer<FormInput.Builder>... 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.Builderavoiding the need to create one manually viaFormInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#assetFormsInput(List.) - 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:
#assetFormsInput(java.util.Collection)
-
clientToken
CreateDataSourceRequest.Builder clientToken(String 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
CreateDataSourceRequest.Builder configuration(DataSourceConfigurationInput configuration)
Specifies the configuration of the data source. It can be set to either
glueRunConfigurationorredshiftRunConfiguration.- Parameters:
configuration- Specifies the configuration of the data source. It can be set to eitherglueRunConfigurationorredshiftRunConfiguration.- 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 theglueRunConfigurationorredshiftRunConfiguration.DataSourceConfigurationInput.Builderavoiding the need to create one manually viaDataSourceConfigurationInput.builder().When the
Consumercompletes,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:
configuration(DataSourceConfigurationInput)
-
description
CreateDataSourceRequest.Builder description(String 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
CreateDataSourceRequest.Builder domainIdentifier(String 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
CreateDataSourceRequest.Builder enableSetting(String 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,EnableSetting
-
enableSetting
CreateDataSourceRequest.Builder enableSetting(EnableSetting 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,EnableSetting
-
environmentIdentifier
CreateDataSourceRequest.Builder environmentIdentifier(String 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
CreateDataSourceRequest.Builder name(String 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
CreateDataSourceRequest.Builder projectIdentifier(String 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
CreateDataSourceRequest.Builder publishOnImport(Boolean 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
CreateDataSourceRequest.Builder recommendation(RecommendationConfiguration 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.Builderavoiding the need to create one manually viaRecommendationConfiguration.builder().When the
Consumercompletes,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:
recommendation(RecommendationConfiguration)
-
schedule
CreateDataSourceRequest.Builder schedule(ScheduleConfiguration 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
default CreateDataSourceRequest.Builder schedule(Consumer<ScheduleConfiguration.Builder> schedule)
The schedule of the data source runs.
This is a convenience method that creates an instance of theScheduleConfiguration.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,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:
schedule(ScheduleConfiguration)
-
type
CreateDataSourceRequest.Builder type(String type)
The type of the data source.
- Parameters:
type- The type of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDataSourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-