#[non_exhaustive]pub struct GetActivityTaskOutputBuilder { /* private fields */ }Expand description
A builder for GetActivityTaskOutput.
Implementations§
source§impl GetActivityTaskOutputBuilder
impl GetActivityTaskOutputBuilder
sourcepub fn task_token(self, input: impl Into<String>) -> Self
pub fn task_token(self, input: impl Into<String>) -> Self
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
sourcepub fn set_task_token(self, input: Option<String>) -> Self
pub fn set_task_token(self, input: Option<String>) -> Self
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
sourcepub fn get_task_token(&self) -> &Option<String>
pub fn get_task_token(&self) -> &Option<String>
A token that identifies the scheduled task. This token must be copied and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in order to report the progress or completion of the task.
sourcepub fn input(self, input: impl Into<String>) -> Self
pub fn input(self, input: impl Into<String>) -> Self
The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
sourcepub fn set_input(self, input: Option<String>) -> Self
pub fn set_input(self, input: Option<String>) -> Self
The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
sourcepub fn get_input(&self) -> &Option<String>
pub fn get_input(&self) -> &Option<String>
The string that contains the JSON input data for the task. Length constraints apply to the payload size, and are expressed as bytes in UTF-8 encoding.
sourcepub fn build(self) -> GetActivityTaskOutput
pub fn build(self) -> GetActivityTaskOutput
Consumes the builder and constructs a GetActivityTaskOutput.
Trait Implementations§
source§impl Clone for GetActivityTaskOutputBuilder
impl Clone for GetActivityTaskOutputBuilder
source§fn clone(&self) -> GetActivityTaskOutputBuilder
fn clone(&self) -> GetActivityTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetActivityTaskOutputBuilder
impl Debug for GetActivityTaskOutputBuilder
source§impl Default for GetActivityTaskOutputBuilder
impl Default for GetActivityTaskOutputBuilder
source§fn default() -> GetActivityTaskOutputBuilder
fn default() -> GetActivityTaskOutputBuilder
source§impl PartialEq for GetActivityTaskOutputBuilder
impl PartialEq for GetActivityTaskOutputBuilder
source§fn eq(&self, other: &GetActivityTaskOutputBuilder) -> bool
fn eq(&self, other: &GetActivityTaskOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetActivityTaskOutputBuilder
Auto Trait Implementations§
impl Freeze for GetActivityTaskOutputBuilder
impl RefUnwindSafe for GetActivityTaskOutputBuilder
impl Send for GetActivityTaskOutputBuilder
impl Sync for GetActivityTaskOutputBuilder
impl Unpin for GetActivityTaskOutputBuilder
impl UnwindSafe for GetActivityTaskOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more