Interface GetProspectingFromEngagementTaskResponse.Builder

  • Method Details

    • taskId

      The unique identifier of the task.

      Parameters:
      taskId - The unique identifier of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskArn

      The Amazon Resource Name (ARN) of the task.

      Parameters:
      taskArn - The Amazon Resource Name (ARN) of the task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskName

      The descriptive name of the task that you provided when you created it.

      Parameters:
      taskName - The descriptive name of the task that you provided when you created it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The timestamp indicating when the task was initiated. The format follows ISO 8601 date-time notation.

      Parameters:
      startTime - The timestamp indicating when the task was initiated. The format follows ISO 8601 date-time notation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.

      Parameters:
      endTime - The timestamp indicating when the task finished processing. This field is absent if the task is still in progress. The format follows ISO 8601 date-time notation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engagements

      An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.

      Parameters:
      engagements - An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engagements

      An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.

      Parameters:
      engagements - An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • engagements

      An array of EngagementProspectingResult entries for each engagement in the task. Each entry contains the processing status. For successfully completed engagements, includes the prospecting context identifier. For failed engagements, includes an error code and message.

      This is a convenience method that creates an instance of the EngagementProspectingResult.Builder avoiding the need to create one manually via EngagementProspectingResult.builder().

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

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