Interface ExecutionRecord.Builder

  • Method Details

    • 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

      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:
    • 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 the ExecutionResult.Builder avoiding the need to create one manually via ExecutionResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to executionResult(ExecutionResult).

      Parameters:
      executionResult - a consumer that will call methods on ExecutionResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the MetadataCatalogDetail.Builder avoiding the need to create one manually via MetadataCatalogDetail.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metadataCatalogDetails(List<MetadataCatalogDetail>).

      Parameters:
      metadataCatalogDetails - a consumer that will call methods on MetadataCatalogDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: