Interface ExecutionRecord.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionRecord.Builder,ExecutionRecord>,SdkBuilder<ExecutionRecord.Builder,ExecutionRecord>,SdkPojo
- Enclosing class:
- ExecutionRecord
public static interface ExecutionRecord.Builder extends SdkPojo, CopyableBuilder<ExecutionRecord.Builder,ExecutionRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExecutionRecord.BuilderdataPullEndTime(Instant dataPullEndTime)The timestamp that indicates the last new or updated record to be transferred in the flow run.ExecutionRecord.BuilderdataPullStartTime(Instant dataPullStartTime)The timestamp that determines the first new or updated record to be transferred in the flow run.ExecutionRecord.BuilderexecutionId(String executionId)Specifies the identifier of the given flow run.default ExecutionRecord.BuilderexecutionResult(Consumer<ExecutionResult.Builder> executionResult)Describes the result of the given flow run.ExecutionRecord.BuilderexecutionResult(ExecutionResult executionResult)Describes the result of the given flow run.ExecutionRecord.BuilderexecutionStatus(String executionStatus)Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.ExecutionRecord.BuilderexecutionStatus(ExecutionStatus executionStatus)Specifies the flow run status and whether it is in progress, has completed successfully, or has failed.ExecutionRecord.BuilderlastUpdatedAt(Instant lastUpdatedAt)Specifies the time of the most recent update.ExecutionRecord.BuildermetadataCatalogDetails(Collection<MetadataCatalogDetail> metadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.ExecutionRecord.BuildermetadataCatalogDetails(Consumer<MetadataCatalogDetail.Builder>... metadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.ExecutionRecord.BuildermetadataCatalogDetails(MetadataCatalogDetail... metadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.ExecutionRecord.BuilderstartedAt(Instant startedAt)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 Detail
-
executionId
ExecutionRecord.Builder executionId(String 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
ExecutionRecord.Builder executionStatus(String 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,ExecutionStatus
-
executionStatus
ExecutionRecord.Builder executionStatus(ExecutionStatus 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,ExecutionStatus
-
executionResult
ExecutionRecord.Builder executionResult(ExecutionResult 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
default ExecutionRecord.Builder executionResult(Consumer<ExecutionResult.Builder> executionResult)
Describes the result of the given flow run.
This is a convenience method that creates an instance of theExecutionResult.Builderavoiding the need to create one manually viaExecutionResult.builder().When the
Consumercompletes,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:
executionResult(ExecutionResult)
-
startedAt
ExecutionRecord.Builder startedAt(Instant 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
ExecutionRecord.Builder lastUpdatedAt(Instant 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
ExecutionRecord.Builder dataPullStartTime(Instant 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
ExecutionRecord.Builder dataPullEndTime(Instant 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
ExecutionRecord.Builder metadataCatalogDetails(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
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.Builderavoiding the need to create one manually viaMetadataCatalogDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metadataCatalogDetails(List.) - 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:
#metadataCatalogDetails(java.util.Collection)
-
-