Interface ExecutionRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecutionRecord.Builder,
,ExecutionRecord> SdkBuilder<ExecutionRecord.Builder,
,ExecutionRecord> SdkPojo
- Enclosing class:
ExecutionRecord
-
Method Summary
Modifier and TypeMethodDescriptiondataPullEndTime
(Instant dataPullEndTime) The timestamp that indicates the last new or updated record to be transferred in the flow run.dataPullStartTime
(Instant dataPullStartTime) The timestamp that determines the first new or updated record to be transferred in the flow run.executionId
(String executionId) Specifies the identifier of the given flow run.default ExecutionRecord.Builder
executionResult
(Consumer<ExecutionResult.Builder> executionResult) Describes the result of the given flow run.executionResult
(ExecutionResult executionResult) Describes the result of the given flow run.executionStatus
(String executionStatus) Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.executionStatus
(ExecutionStatus executionStatus) Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.lastUpdatedAt
(Instant lastUpdatedAt) Specifies the time of the most recent update.metadataCatalogDetails
(Collection<MetadataCatalogDetail> metadataCatalogDetails) Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.metadataCatalogDetails
(Consumer<MetadataCatalogDetail.Builder>... metadataCatalogDetails) Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.metadataCatalogDetails
(MetadataCatalogDetail... metadataCatalogDetails) Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.Specifies the start time of the flow run.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 Details
-
executionId
Specifies the identifier of the given flow run.
- Parameters:
executionId
- Specifies the identifier of the given flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStatus
Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.
- Parameters:
executionStatus
- Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.
- Parameters:
executionStatus
- Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionResult
Describes the result of the given flow run.
- Parameters:
executionResult
- Describes the result of the given flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionResult
Describes the result of the given flow run.
This is a convenience method that creates an instance of theExecutionResult.Builder
avoiding the need to create one manually viaExecutionResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionResult(ExecutionResult)
.- Parameters:
executionResult
- a consumer that will call methods onExecutionResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedAt
Specifies the start time of the flow run.
- Parameters:
startedAt
- Specifies the start time of the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
Specifies the time of the most recent update.
- Parameters:
lastUpdatedAt
- Specifies the time of the most recent update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPullStartTime
The timestamp that determines the first new or updated record to be transferred in the flow run.
- Parameters:
dataPullStartTime
- The timestamp that determines the first new or updated record to be transferred in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataPullEndTime
The timestamp that indicates the last new or updated record to be transferred in the flow run.
- Parameters:
dataPullEndTime
- The timestamp that indicates the last new or updated record to be transferred in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataCatalogDetails
ExecutionRecord.Builder metadataCatalogDetails(Collection<MetadataCatalogDetail> metadataCatalogDetails) Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
- Parameters:
metadataCatalogDetails
- Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataCatalogDetails
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
- Parameters:
metadataCatalogDetails
- Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataCatalogDetails
ExecutionRecord.Builder metadataCatalogDetails(Consumer<MetadataCatalogDetail.Builder>... metadataCatalogDetails) Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
This is a convenience method that creates an instance of theMetadataCatalogDetail.Builder
avoiding the need to create one manually viaMetadataCatalogDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataCatalogDetails(List<MetadataCatalogDetail>)
.- Parameters:
metadataCatalogDetails
- a consumer that will call methods onMetadataCatalogDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-