Interface StartDataSourceRunResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartDataSourceRunResponse.Builder,StartDataSourceRunResponse>,DataZoneResponse.Builder,SdkBuilder<StartDataSourceRunResponse.Builder,StartDataSourceRunResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartDataSourceRunResponse
public static interface StartDataSourceRunResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<StartDataSourceRunResponse.Builder,StartDataSourceRunResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartDataSourceRunResponse.BuildercreatedAt(Instant createdAt)The timestamp of when data source run was created.StartDataSourceRunResponse.BuilderdataSourceConfigurationSnapshot(String dataSourceConfigurationSnapshot)The configuration snapshot of the data source that is being run.StartDataSourceRunResponse.BuilderdataSourceId(String dataSourceId)The identifier of the data source.StartDataSourceRunResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which to start a data source run.default StartDataSourceRunResponse.BuildererrorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.StartDataSourceRunResponse.BuildererrorMessage(DataSourceErrorMessage errorMessage)Specifies the error message that is returned if the operation cannot be successfully completed.StartDataSourceRunResponse.Builderid(String id)The identifier of the data source run.StartDataSourceRunResponse.BuilderprojectId(String projectId)The identifier of the project.default StartDataSourceRunResponse.BuilderrunStatisticsForAssets(Consumer<RunStatisticsForAssets.Builder> runStatisticsForAssets)Specifies run statistics for assets.StartDataSourceRunResponse.BuilderrunStatisticsForAssets(RunStatisticsForAssets runStatisticsForAssets)Specifies run statistics for assets.StartDataSourceRunResponse.BuilderstartedAt(Instant startedAt)The timestamp of when the data source run was started.StartDataSourceRunResponse.Builderstatus(String status)The status of the data source run.StartDataSourceRunResponse.Builderstatus(DataSourceRunStatus status)The status of the data source run.StartDataSourceRunResponse.BuilderstoppedAt(Instant stoppedAt)The timestamp of when the data source run was stopped.StartDataSourceRunResponse.Buildertype(String type)The type of the data source run.StartDataSourceRunResponse.Buildertype(DataSourceRunType type)The type of the data source run.StartDataSourceRunResponse.BuilderupdatedAt(Instant updatedAt)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 Detail
-
createdAt
StartDataSourceRunResponse.Builder createdAt(Instant 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
StartDataSourceRunResponse.Builder dataSourceId(String 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
StartDataSourceRunResponse.Builder domainId(String 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
StartDataSourceRunResponse.Builder errorMessage(DataSourceErrorMessage 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.Builderavoiding the need to create one manually viaDataSourceErrorMessage.builder().When the
Consumercompletes,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:
errorMessage(DataSourceErrorMessage)
-
id
StartDataSourceRunResponse.Builder id(String 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
StartDataSourceRunResponse.Builder projectId(String 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.Builderavoiding the need to create one manually viaRunStatisticsForAssets.builder().When the
Consumercompletes,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:
runStatisticsForAssets(RunStatisticsForAssets)
-
startedAt
StartDataSourceRunResponse.Builder startedAt(Instant 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
StartDataSourceRunResponse.Builder status(String 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:
DataSourceRunStatus,DataSourceRunStatus
-
status
StartDataSourceRunResponse.Builder status(DataSourceRunStatus 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:
DataSourceRunStatus,DataSourceRunStatus
-
stoppedAt
StartDataSourceRunResponse.Builder stoppedAt(Instant 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
StartDataSourceRunResponse.Builder type(String 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:
DataSourceRunType,DataSourceRunType
-
type
StartDataSourceRunResponse.Builder type(DataSourceRunType 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:
DataSourceRunType,DataSourceRunType
-
updatedAt
StartDataSourceRunResponse.Builder updatedAt(Instant 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.
-
-