Interface StartDataSourceRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<StartDataSourceRunResponse.Builder,
,StartDataSourceRunResponse> DataZoneResponse.Builder
,SdkBuilder<StartDataSourceRunResponse.Builder,
,StartDataSourceRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StartDataSourceRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when data source run was created.dataSourceConfigurationSnapshot
(String dataSourceConfigurationSnapshot) The configuration snapshot of the data source that is being run.dataSourceId
(String dataSourceId) The identifier of the data source.The identifier of the Amazon DataZone domain in which to start a data source run.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 identifier of the data source run.The identifier of the project.runStatisticsForAssets
(Consumer<RunStatisticsForAssets.Builder> runStatisticsForAssets) Specifies run statistics for assets.runStatisticsForAssets
(RunStatisticsForAssets runStatisticsForAssets) Specifies run statistics for assets.The timestamp of when the data source run was started.The status of the data source run.status
(DataSourceRunStatus status) The status of the data source run.The timestamp of when the data source run was stopped.The type of the data source run.type
(DataSourceRunType type) The type of the data source run.The timestamp of when the data source run 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
createdAt
The timestamp of when data source run was created.
- Parameters:
createdAt
- The timestamp of when data source run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfigurationSnapshot
StartDataSourceRunResponse.Builder dataSourceConfigurationSnapshot(String dataSourceConfigurationSnapshot) The configuration snapshot of the data source that is being run.
- Parameters:
dataSourceConfigurationSnapshot
- The configuration snapshot of the data source that is being run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
The identifier of the data source.
- Parameters:
dataSourceId
- The identifier of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the Amazon DataZone domain in which to start a data source run.
- Parameters:
domainId
- The identifier of the Amazon DataZone domain in which to start a data source run.- 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 StartDataSourceRunResponse.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 identifier of the data source run.
- Parameters:
id
- The identifier of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectId
The identifier of the project.
- Parameters:
projectId
- The identifier of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runStatisticsForAssets
StartDataSourceRunResponse.Builder runStatisticsForAssets(RunStatisticsForAssets runStatisticsForAssets) Specifies run statistics for assets.
- Parameters:
runStatisticsForAssets
- Specifies run statistics for assets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runStatisticsForAssets
default StartDataSourceRunResponse.Builder runStatisticsForAssets(Consumer<RunStatisticsForAssets.Builder> runStatisticsForAssets) Specifies run statistics for assets.
This is a convenience method that creates an instance of theRunStatisticsForAssets.Builder
avoiding the need to create one manually viaRunStatisticsForAssets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torunStatisticsForAssets(RunStatisticsForAssets)
.- Parameters:
runStatisticsForAssets
- a consumer that will call methods onRunStatisticsForAssets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
The timestamp of when the data source run was started.
- Parameters:
startedAt
- The timestamp of when the data source run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the data source run.
- Parameters:
status
- The status of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the data source run.
- Parameters:
status
- The status of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stoppedAt
The timestamp of when the data source run was stopped.
- Parameters:
stoppedAt
- The timestamp of when the data source run was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the data source run.
- Parameters:
type
- The type of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the data source run.
- Parameters:
type
- The type of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The timestamp of when the data source run was updated.
- Parameters:
updatedAt
- The timestamp of when the data source run was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-