Interface DataSourceRunSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataSourceRunSummary.Builder,DataSourceRunSummary>,SdkBuilder<DataSourceRunSummary.Builder,DataSourceRunSummary>,SdkPojo
- Enclosing class:
- DataSourceRunSummary
public static interface DataSourceRunSummary.Builder extends SdkPojo, CopyableBuilder<DataSourceRunSummary.Builder,DataSourceRunSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataSourceRunSummary.BuildercreatedAt(Instant createdAt)The timestamp of when a data source run was created.DataSourceRunSummary.BuilderdataSourceId(String dataSourceId)The identifier of the data source of the data source run.default DataSourceRunSummary.BuildererrorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)Sets the value of the ErrorMessage property for this object.DataSourceRunSummary.BuildererrorMessage(DataSourceErrorMessage errorMessage)Sets the value of the ErrorMessage property for this object.DataSourceRunSummary.Builderid(String id)The identifier of the data source run.DataSourceRunSummary.BuilderprojectId(String projectId)The project ID of the data source run.default DataSourceRunSummary.BuilderrunStatisticsForAssets(Consumer<RunStatisticsForAssets.Builder> runStatisticsForAssets)Sets the value of the RunStatisticsForAssets property for this object.DataSourceRunSummary.BuilderrunStatisticsForAssets(RunStatisticsForAssets runStatisticsForAssets)Sets the value of the RunStatisticsForAssets property for this object.DataSourceRunSummary.BuilderstartedAt(Instant startedAt)The timestamp of when a data source run was started.DataSourceRunSummary.Builderstatus(String status)The status of the data source run.DataSourceRunSummary.Builderstatus(DataSourceRunStatus status)The status of the data source run.DataSourceRunSummary.BuilderstoppedAt(Instant stoppedAt)The timestamp of when a data source run was stopped.DataSourceRunSummary.Buildertype(String type)The type of the data source run.DataSourceRunSummary.Buildertype(DataSourceRunType type)The type of the data source run.DataSourceRunSummary.BuilderupdatedAt(Instant updatedAt)The timestamp of when a data source run was updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
createdAt
DataSourceRunSummary.Builder createdAt(Instant createdAt)
The timestamp of when a data source run was created.
- Parameters:
createdAt- The timestamp of when a data source run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
DataSourceRunSummary.Builder dataSourceId(String dataSourceId)
The identifier of the data source of the data source run.
- Parameters:
dataSourceId- The identifier of the data source of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
DataSourceRunSummary.Builder errorMessage(DataSourceErrorMessage errorMessage)
Sets the value of the ErrorMessage property for this object.- Parameters:
errorMessage- The new value for the ErrorMessage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
default DataSourceRunSummary.Builder errorMessage(Consumer<DataSourceErrorMessage.Builder> errorMessage)
Sets the value of the ErrorMessage property for this object. 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
DataSourceRunSummary.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
DataSourceRunSummary.Builder projectId(String projectId)
The project ID of the data source run.
- Parameters:
projectId- The project ID of the data source run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runStatisticsForAssets
DataSourceRunSummary.Builder runStatisticsForAssets(RunStatisticsForAssets runStatisticsForAssets)
Sets the value of the RunStatisticsForAssets property for this object.- Parameters:
runStatisticsForAssets- The new value for the RunStatisticsForAssets property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runStatisticsForAssets
default DataSourceRunSummary.Builder runStatisticsForAssets(Consumer<RunStatisticsForAssets.Builder> runStatisticsForAssets)
Sets the value of the RunStatisticsForAssets property for this object. 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
DataSourceRunSummary.Builder startedAt(Instant startedAt)
The timestamp of when a data source run was started.
- Parameters:
startedAt- The timestamp of when a data source run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DataSourceRunSummary.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
DataSourceRunSummary.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
DataSourceRunSummary.Builder stoppedAt(Instant stoppedAt)
The timestamp of when a data source run was stopped.
- Parameters:
stoppedAt- The timestamp of when a data source run was stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
DataSourceRunSummary.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
DataSourceRunSummary.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
DataSourceRunSummary.Builder updatedAt(Instant updatedAt)
The timestamp of when a data source run was updated.
- Parameters:
updatedAt- The timestamp of when a data source run was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-