Struct aws_sdk_migrationhub::operation::list_migration_tasks::builders::ListMigrationTasksInputBuilder
source · #[non_exhaustive]pub struct ListMigrationTasksInputBuilder { /* private fields */ }Expand description
A builder for ListMigrationTasksInput.
Implementations§
source§impl ListMigrationTasksInputBuilder
impl ListMigrationTasksInputBuilder
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.
sourcepub fn build(self) -> Result<ListMigrationTasksInput, BuildError>
pub fn build(self) -> Result<ListMigrationTasksInput, BuildError>
Consumes the builder and constructs a ListMigrationTasksInput.
source§impl ListMigrationTasksInputBuilder
impl ListMigrationTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListMigrationTasksOutput, SdkError<ListMigrationTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListMigrationTasksOutput, SdkError<ListMigrationTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListMigrationTasksInputBuilder
impl Clone for ListMigrationTasksInputBuilder
source§fn clone(&self) -> ListMigrationTasksInputBuilder
fn clone(&self) -> ListMigrationTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListMigrationTasksInputBuilder
impl Default for ListMigrationTasksInputBuilder
source§fn default() -> ListMigrationTasksInputBuilder
fn default() -> ListMigrationTasksInputBuilder
source§impl PartialEq for ListMigrationTasksInputBuilder
impl PartialEq for ListMigrationTasksInputBuilder
source§fn eq(&self, other: &ListMigrationTasksInputBuilder) -> bool
fn eq(&self, other: &ListMigrationTasksInputBuilder) -> bool
self and other values to be equal, and is used
by ==.