Interface CreateDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDataSourceResponse.Builder,
,CreateDataSourceResponse> DataZoneResponse.Builder
,SdkBuilder<CreateDataSourceResponse.Builder,
,CreateDataSourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateDataSourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetFormsOutput
(Collection<FormOutput> assetFormsOutput) The metadata forms attached to the assets that this data source creates.assetFormsOutput
(Consumer<FormOutput.Builder>... assetFormsOutput) The metadata forms attached to the assets that this data source creates.assetFormsOutput
(FormOutput... assetFormsOutput) The metadata forms attached to the assets that this data source creates.default CreateDataSourceResponse.Builder
configuration
(Consumer<DataSourceConfigurationOutput.Builder> configuration) Specifies the configuration of the data source.configuration
(DataSourceConfigurationOutput configuration) Specifies the configuration of the data source.connectionId
(String connectionId) The ID of the connection.The timestamp of when the data source was created.description
(String description) The description of the data source.The ID of the Amazon DataZone domain in which 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.environmentId
(String environmentId) The unique identifier of the Amazon DataZone environment to which the data source publishes assets.default CreateDataSourceResponse.Builder
errorMessage
(Consumer<DataSourceErrorMessage.Builder> errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.errorMessage
(DataSourceErrorMessage errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.The unique identifier of the data source.The timestamp that specifies when the data source was last run.default CreateDataSourceResponse.Builder
lastRunErrorMessage
(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.lastRunErrorMessage
(DataSourceErrorMessage lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.lastRunStatus
(String lastRunStatus) The status of the last run of this data source.lastRunStatus
(DataSourceRunStatus lastRunStatus) The status of the last run of this data source.The name of the data source.The ID of the Amazon DataZone project to which the data source is added.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 CreateDataSourceResponse.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 CreateDataSourceResponse.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) The schedule of the data source runs.schedule
(ScheduleConfiguration schedule) The schedule of the data source runs.The status of the data source.status
(DataSourceStatus status) The status of the data source.The type of the data source.The timestamp of when the data source was updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
assetFormsOutput
The metadata forms attached to the assets that this data source creates.
- Parameters:
assetFormsOutput
- The metadata forms attached to the assets that this data source creates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The metadata forms attached to the assets that this data source creates.
- Parameters:
assetFormsOutput
- The metadata forms attached to the assets that this data source creates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The metadata forms attached to the assets that this data source creates.
This is a convenience method that creates an instance of theFormOutput.Builder
avoiding the need to create one manually viaFormOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetFormsOutput(List<FormOutput>)
.- Parameters:
assetFormsOutput
- a consumer that will call methods onFormOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 CreateDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.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
.DataSourceConfigurationOutput.Builder
avoiding the need to create one manually viaDataSourceConfigurationOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(DataSourceConfigurationOutput)
.- Parameters:
configuration
- a consumer that will call methods onDataSourceConfigurationOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionId
The ID of the connection.
- Parameters:
connectionId
- The ID of the connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp of when the data source was created.
- Parameters:
createdAt
- The timestamp of when the data source was created.- 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.
-
domainId
The ID of the Amazon DataZone domain in which the data source is created.
- Parameters:
domainId
- The ID of the Amazon DataZone domain in which 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:
-
environmentId
The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
- Parameters:
environmentId
- 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.
-
errorMessage
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
errorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
default CreateDataSourceResponse.Builder errorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theDataSourceErrorMessage.Builder
avoiding the need to create one manually viaDataSourceErrorMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorMessage(DataSourceErrorMessage)
.- Parameters:
errorMessage
- a consumer that will call methods onDataSourceErrorMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The unique identifier of the data source.
- Parameters:
id
- The unique identifier of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
The timestamp that specifies when the data source was last run.
- Parameters:
lastRunAt
- The timestamp that specifies when the data source was last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
lastRunErrorMessage
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunErrorMessage
default CreateDataSourceResponse.Builder lastRunErrorMessage(Consumer<DataSourceErrorMessage.Builder> lastRunErrorMessage) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theDataSourceErrorMessage.Builder
avoiding the need to create one manually viaDataSourceErrorMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRunErrorMessage(DataSourceErrorMessage)
.- Parameters:
lastRunErrorMessage
- a consumer that will call methods onDataSourceErrorMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The status of the last run of this data source.
- Parameters:
lastRunStatus
- The status of the last run of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRunStatus
The status of the last run of this data source.
- Parameters:
lastRunStatus
- The status of the last run of this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
projectId
The ID of the Amazon DataZone project to which the data source is added.
- Parameters:
projectId
- The ID of the Amazon DataZone project to which the data source is added.- 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 CreateDataSourceResponse.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:
-
status
The status of the data source.
- Parameters:
status
- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the data source.
- Parameters:
status
- The status of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
updatedAt
The timestamp of when the data source was updated.
- Parameters:
updatedAt
- The timestamp of when the data source was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-