Struct aws_sdk_datapipeline::output::poll_for_task_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PollForTaskOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn task_object(self, input: TaskObject) -> Self
pub fn task_object(self, input: TaskObject) -> Self
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
.
sourcepub fn set_task_object(self, input: Option<TaskObject>) -> Self
pub fn set_task_object(self, input: Option<TaskObject>) -> Self
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
.
sourcepub fn build(self) -> PollForTaskOutput
pub fn build(self) -> PollForTaskOutput
Consumes the builder and constructs a PollForTaskOutput
.