Struct aws_sdk_datasync::input::list_task_executions_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ListTaskExecutionsInput.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> Result<ListTaskExecutionsInput, BuildError>
pub fn build(self) -> Result<ListTaskExecutionsInput, BuildError>
Consumes the builder and constructs a ListTaskExecutionsInput.