Struct aws_sdk_datapipeline::output::poll_for_task_output::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for PollForTaskOutput
.
Implementations
sourceimpl 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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more