Struct aws_sdk_datasync::operation::list_tasks::ListTasksInput
source · #[non_exhaustive]pub struct ListTasksInput { /* private fields */ }
Expand description
ListTasksRequest
Implementations§
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of tasks to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An opaque string that indicates the position at which to begin the next list of tasks.
sourcepub fn filters(&self) -> Option<&[TaskFilter]>
pub fn filters(&self) -> Option<&[TaskFilter]>
You can use API filters to narrow down the list of resources returned by ListTasks
. For example, to retrieve all tasks on a specific source location, you can use ListTasks
with filter name LocationId
and Operator Equals
with the ARN for the location.
source§impl ListTasksInput
impl ListTasksInput
sourcepub fn builder() -> ListTasksInputBuilder
pub fn builder() -> ListTasksInputBuilder
Creates a new builder-style object to manufacture ListTasksInput
.
source§impl ListTasksInput
impl ListTasksInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListTasks, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<ListTasks, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListTasks
>
Trait Implementations§
source§impl Clone for ListTasksInput
impl Clone for ListTasksInput
source§fn clone(&self) -> ListTasksInput
fn clone(&self) -> ListTasksInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ListTasksInput
impl Debug for ListTasksInput
source§impl PartialEq<ListTasksInput> for ListTasksInput
impl PartialEq<ListTasksInput> for ListTasksInput
source§fn eq(&self, other: &ListTasksInput) -> bool
fn eq(&self, other: &ListTasksInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.