public static interface PollForTaskResponse.Builder extends DataPipelineResponse.Builder, CopyableBuilder<PollForTaskResponse.Builder,PollForTaskResponse>
Modifier and Type | Method and Description |
---|---|
default PollForTaskResponse.Builder |
taskObject(Consumer<TaskObject.Builder> taskObject)
The information needed to complete the task that is being assigned to the task runner.
|
PollForTaskResponse.Builder |
taskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner.
|
build
copy
apply, build
PollForTaskResponse.Builder taskObject(TaskObject taskObject)
The information needed to complete the task that is being assigned to the task runner. One of the fields
returned in this object is taskId
, which contains an identifier for the task being assigned. The
calling task runner uses taskId
in subsequent calls to ReportTaskProgress and
SetTaskStatus.
taskObject
- The information needed to complete the task that is being assigned to the task runner. One of the
fields returned in this object is taskId
, which contains an identifier for the task being
assigned. The calling task runner uses taskId
in subsequent calls to
ReportTaskProgress and SetTaskStatus.default PollForTaskResponse.Builder taskObject(Consumer<TaskObject.Builder> taskObject)
The information needed to complete the task that is being assigned to the task runner. One of the fields
returned in this object is taskId
, which contains an identifier for the task being assigned. The
calling task runner uses taskId
in subsequent calls to ReportTaskProgress and
SetTaskStatus.
TaskObject.Builder
avoiding the need to create
one manually via TaskObject.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to taskObject(TaskObject)
.taskObject
- a consumer that will call methods on TaskObject.Builder
taskObject(TaskObject)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.