#[non_exhaustive]pub struct GetActivityTaskInputBuilder { /* private fields */ }Expand description
A builder for GetActivityTaskInput.
Implementations§
source§impl GetActivityTaskInputBuilder
impl GetActivityTaskInputBuilder
sourcepub fn activity_arn(self, input: impl Into<String>) -> Self
pub fn activity_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
sourcepub fn set_activity_arn(self, input: Option<String>) -> Self
pub fn set_activity_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
sourcepub fn get_activity_arn(&self) -> &Option<String>
pub fn get_activity_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the activity to retrieve tasks from (assigned when you create the task using CreateActivity.)
sourcepub fn worker_name(self, input: impl Into<String>) -> Self
pub fn worker_name(self, input: impl Into<String>) -> Self
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
sourcepub fn set_worker_name(self, input: Option<String>) -> Self
pub fn set_worker_name(self, input: Option<String>) -> Self
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
sourcepub fn get_worker_name(&self) -> &Option<String>
pub fn get_worker_name(&self) -> &Option<String>
You can provide an arbitrary name in order to identify the worker that the task is assigned to. This name is used when it is logged in the execution history.
sourcepub fn build(self) -> Result<GetActivityTaskInput, BuildError>
pub fn build(self) -> Result<GetActivityTaskInput, BuildError>
Consumes the builder and constructs a GetActivityTaskInput.
source§impl GetActivityTaskInputBuilder
impl GetActivityTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetActivityTaskOutput, SdkError<GetActivityTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetActivityTaskOutput, SdkError<GetActivityTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetActivityTaskInputBuilder
impl Clone for GetActivityTaskInputBuilder
source§fn clone(&self) -> GetActivityTaskInputBuilder
fn clone(&self) -> GetActivityTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetActivityTaskInputBuilder
impl Debug for GetActivityTaskInputBuilder
source§impl Default for GetActivityTaskInputBuilder
impl Default for GetActivityTaskInputBuilder
source§fn default() -> GetActivityTaskInputBuilder
fn default() -> GetActivityTaskInputBuilder
source§impl PartialEq for GetActivityTaskInputBuilder
impl PartialEq for GetActivityTaskInputBuilder
source§fn eq(&self, other: &GetActivityTaskInputBuilder) -> bool
fn eq(&self, other: &GetActivityTaskInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetActivityTaskInputBuilder
Auto Trait Implementations§
impl Freeze for GetActivityTaskInputBuilder
impl RefUnwindSafe for GetActivityTaskInputBuilder
impl Send for GetActivityTaskInputBuilder
impl Sync for GetActivityTaskInputBuilder
impl Unpin for GetActivityTaskInputBuilder
impl UnwindSafe for GetActivityTaskInputBuilder
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