Struct aws_sdk_swf::operation::poll_for_activity_task::builders::PollForActivityTaskInputBuilder
source · #[non_exhaustive]pub struct PollForActivityTaskInputBuilder { /* private fields */ }
Expand description
A builder for PollForActivityTaskInput
.
Implementations§
source§impl PollForActivityTaskInputBuilder
impl PollForActivityTaskInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain that contains the task lists being polled.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain that contains the task lists being polled.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the domain that contains the task lists being polled.
sourcepub fn task_list(self, input: TaskList) -> Self
pub fn task_list(self, input: TaskList) -> Self
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn set_task_list(self, input: Option<TaskList>) -> Self
pub fn set_task_list(self, input: Option<TaskList>) -> Self
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn get_task_list(&self) -> &Option<TaskList>
pub fn get_task_list(&self) -> &Option<TaskList>
Specifies the task list to poll for activity tasks.
The specified string must not start or end with whitespace. It must not contain a :
(colon), /
(slash), |
(vertical bar), or any control characters (\u0000-\u001f
| \u007f-\u009f
). Also, it must not be the literal string arn
.
sourcepub fn identity(self, input: impl Into<String>) -> Self
pub fn identity(self, input: impl Into<String>) -> Self
Identity of the worker making the request, recorded in the ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn set_identity(self, input: Option<String>) -> Self
pub fn set_identity(self, input: Option<String>) -> Self
Identity of the worker making the request, recorded in the ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn get_identity(&self) -> &Option<String>
pub fn get_identity(&self) -> &Option<String>
Identity of the worker making the request, recorded in the ActivityTaskStarted
event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
sourcepub fn build(self) -> Result<PollForActivityTaskInput, BuildError>
pub fn build(self) -> Result<PollForActivityTaskInput, BuildError>
Consumes the builder and constructs a PollForActivityTaskInput
.
source§impl PollForActivityTaskInputBuilder
impl PollForActivityTaskInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PollForActivityTaskOutput, SdkError<PollForActivityTaskError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PollForActivityTaskOutput, SdkError<PollForActivityTaskError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PollForActivityTaskInputBuilder
impl Clone for PollForActivityTaskInputBuilder
source§fn clone(&self) -> PollForActivityTaskInputBuilder
fn clone(&self) -> PollForActivityTaskInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PollForActivityTaskInputBuilder
impl Default for PollForActivityTaskInputBuilder
source§fn default() -> PollForActivityTaskInputBuilder
fn default() -> PollForActivityTaskInputBuilder
source§impl PartialEq for PollForActivityTaskInputBuilder
impl PartialEq for PollForActivityTaskInputBuilder
source§fn eq(&self, other: &PollForActivityTaskInputBuilder) -> bool
fn eq(&self, other: &PollForActivityTaskInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.