Interface GetDataSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataSourceResponse.Builder,
,GetDataSourceResponse> DataZoneResponse.Builder
,SdkBuilder<GetDataSourceResponse.Builder,
,GetDataSourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDataSourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionassetFormsOutput
(Collection<FormOutput> assetFormsOutput) The metadata forms attached to the assets created by this data source.assetFormsOutput
(Consumer<FormOutput.Builder>... assetFormsOutput) The metadata forms attached to the assets created by this data source.assetFormsOutput
(FormOutput... assetFormsOutput) The metadata forms attached to the assets created by this data source.default GetDataSourceResponse.Builder
configuration
(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration of the data source.configuration
(DataSourceConfigurationOutput configuration) 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 exists.enableSetting
(String enableSetting) Specifies whether this data source is enabled or not.enableSetting
(EnableSetting enableSetting) Specifies whether this data source is enabled or not.environmentId
(String environmentId) The ID of the environment where this data source creates and publishes assets,default GetDataSourceResponse.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 ID of the data source.lastRunAssetCount
(Integer lastRunAssetCount) The number of assets created by the data source during its last run.The timestamp of the last run of the data source.default GetDataSourceResponse.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 the data source.lastRunStatus
(DataSourceRunStatus lastRunStatus) The status of the last run of the data source.The name of the data source.The ID of the project where the data source creates and publishes assets.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 GetDataSourceResponse.Builder
recommendation
(Consumer<RecommendationConfiguration.Builder> recommendation) The recommendation configuration of the data source.recommendation
(RecommendationConfiguration recommendation) The recommendation configuration of the data source.default GetDataSourceResponse.Builder
schedule
(Consumer<ScheduleConfiguration.Builder> schedule) The schedule of the data source runs.schedule
(ScheduleConfiguration schedule) The schedule of the data source runs.default GetDataSourceResponse.Builder
selfGrantStatus
(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus) Specifies the status of the self-granting functionality.selfGrantStatus
(SelfGrantStatusOutput selfGrantStatus) Specifies the status of the self-granting functionality.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 created by this data source.
- Parameters:
assetFormsOutput
- The metadata forms attached to the assets created by this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The metadata forms attached to the assets created by this data source.
- Parameters:
assetFormsOutput
- The metadata forms attached to the assets created by this data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetFormsOutput
The metadata forms attached to the assets created by this data source.
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
The configuration of the data source.
- Parameters:
configuration
- The configuration of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default GetDataSourceResponse.Builder configuration(Consumer<DataSourceConfigurationOutput.Builder> configuration) The configuration of the data source.
This is a convenience method that creates an instance of theDataSourceConfigurationOutput.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 exists.
- Parameters:
domainId
- The ID of the Amazon DataZone domain in which the data source exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableSetting
Specifies whether this data source is enabled or not.
- Parameters:
enableSetting
- Specifies whether this data source is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableSetting
Specifies whether this data source is enabled or not.
- Parameters:
enableSetting
- Specifies whether this data source is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentId
The ID of the environment where this data source creates and publishes assets,
- Parameters:
environmentId
- The ID of the environment where this data source creates and 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 GetDataSourceResponse.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 ID of the data source.
- Parameters:
id
- The ID of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAssetCount
The number of assets created by the data source during its last run.
- Parameters:
lastRunAssetCount
- The number of assets created by the data source during its last run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunAt
The timestamp of the last run of the data source.
- Parameters:
lastRunAt
- The timestamp of the last run of the data source.- 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 GetDataSourceResponse.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 the data source.
- Parameters:
lastRunStatus
- The status of the last run of the 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 the data source.
- Parameters:
lastRunStatus
- The status of the last run of the 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 project where the data source creates and publishes assets.
- Parameters:
projectId
- The ID of the project where the data source creates and publishes assets.- 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
The recommendation configuration of the data source.
- Parameters:
recommendation
- The recommendation configuration of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendation
default GetDataSourceResponse.Builder recommendation(Consumer<RecommendationConfiguration.Builder> recommendation) The recommendation configuration of the 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:
-
selfGrantStatus
Specifies the status of the self-granting functionality.
- Parameters:
selfGrantStatus
- Specifies the status of the self-granting functionality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfGrantStatus
default GetDataSourceResponse.Builder selfGrantStatus(Consumer<SelfGrantStatusOutput.Builder> selfGrantStatus) Specifies the status of the self-granting functionality.
This is a convenience method that creates an instance of theSelfGrantStatusOutput.Builder
avoiding the need to create one manually viaSelfGrantStatusOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfGrantStatus(SelfGrantStatusOutput)
.- Parameters:
selfGrantStatus
- a consumer that will call methods onSelfGrantStatusOutput.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.
-