Struct aws_sdk_migrationhub::operation::list_migration_tasks::builders::ListMigrationTasksFluentBuilder
source · pub struct ListMigrationTasksFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListMigrationTasks.
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
-
Can show a summary list of the most recent migration tasks.
-
Can show a summary list of migration tasks associated with a given discovered resource.
-
Lists migration tasks in a paginated interface.
Implementations§
source§impl ListMigrationTasksFluentBuilder
impl ListMigrationTasksFluentBuilder
sourcepub fn as_input(&self) -> &ListMigrationTasksInputBuilder
pub fn as_input(&self) -> &ListMigrationTasksInputBuilder
Access the ListMigrationTasks as a reference.
sourcepub async fn send(
self
) -> Result<ListMigrationTasksOutput, SdkError<ListMigrationTasksError, HttpResponse>>
pub async fn send( self ) -> Result<ListMigrationTasksOutput, SdkError<ListMigrationTasksError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListMigrationTasksOutput, ListMigrationTasksError, Self>
pub fn customize( self ) -> CustomizableOperation<ListMigrationTasksOutput, ListMigrationTasksError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListMigrationTasksPaginator
pub fn into_paginator(self) -> ListMigrationTasksPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If a NextToken was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token in NextToken.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Value to specify how many results are returned per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Value to specify how many results are returned per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Value to specify how many results are returned per page.
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
Filter migration tasks by discovered resource name.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
Filter migration tasks by discovered resource name.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
Filter migration tasks by discovered resource name.
Trait Implementations§
source§impl Clone for ListMigrationTasksFluentBuilder
impl Clone for ListMigrationTasksFluentBuilder
source§fn clone(&self) -> ListMigrationTasksFluentBuilder
fn clone(&self) -> ListMigrationTasksFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more