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 ==.impl StructuralPartialEq for ListMigrationTasksInputBuilder
Auto Trait Implementations§
impl Freeze for ListMigrationTasksInputBuilder
impl RefUnwindSafe for ListMigrationTasksInputBuilder
impl Send for ListMigrationTasksInputBuilder
impl Sync for ListMigrationTasksInputBuilder
impl Unpin for ListMigrationTasksInputBuilder
impl UnwindSafe for ListMigrationTasksInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more