Struct aws_sdk_datasync::operation::list_task_executions::builders::ListTaskExecutionsInputBuilder
source · #[non_exhaustive]pub struct ListTaskExecutionsInputBuilder { /* private fields */ }
Expand description
A builder for ListTaskExecutionsInput
.
Implementations§
source§impl ListTaskExecutionsInputBuilder
impl ListTaskExecutionsInputBuilder
sourcepub fn task_arn(self, input: impl Into<String>) -> Self
pub fn task_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the task whose tasks you want to list.
sourcepub fn set_task_arn(self, input: Option<String>) -> Self
pub fn set_task_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the task whose tasks you want to list.
sourcepub fn get_task_arn(&self) -> &Option<String>
pub fn get_task_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the task whose tasks you want to list.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of executed tasks to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of executed tasks to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of executed tasks to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An opaque string that indicates the position at which to begin the next list of the executed tasks.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An opaque string that indicates the position at which to begin the next list of the executed tasks.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An opaque string that indicates the position at which to begin the next list of the executed tasks.
sourcepub fn build(self) -> Result<ListTaskExecutionsInput, BuildError>
pub fn build(self) -> Result<ListTaskExecutionsInput, BuildError>
Consumes the builder and constructs a ListTaskExecutionsInput
.
source§impl ListTaskExecutionsInputBuilder
impl ListTaskExecutionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTaskExecutionsOutput, SdkError<ListTaskExecutionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTaskExecutionsOutput, SdkError<ListTaskExecutionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTaskExecutionsInputBuilder
impl Clone for ListTaskExecutionsInputBuilder
source§fn clone(&self) -> ListTaskExecutionsInputBuilder
fn clone(&self) -> ListTaskExecutionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTaskExecutionsInputBuilder
impl Default for ListTaskExecutionsInputBuilder
source§fn default() -> ListTaskExecutionsInputBuilder
fn default() -> ListTaskExecutionsInputBuilder
source§impl PartialEq for ListTaskExecutionsInputBuilder
impl PartialEq for ListTaskExecutionsInputBuilder
source§fn eq(&self, other: &ListTaskExecutionsInputBuilder) -> bool
fn eq(&self, other: &ListTaskExecutionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.