Struct aws_sdk_applicationdiscovery::operation::describe_import_tasks::builders::DescribeImportTasksInputBuilder
source · #[non_exhaustive]pub struct DescribeImportTasksInputBuilder { /* private fields */ }Expand description
A builder for DescribeImportTasksInput.
Implementations§
source§impl DescribeImportTasksInputBuilder
impl DescribeImportTasksInputBuilder
sourcepub fn filters(self, input: ImportTaskFilter) -> Self
pub fn filters(self, input: ImportTaskFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.
sourcepub fn set_filters(self, input: Option<Vec<ImportTaskFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<ImportTaskFilter>>) -> Self
An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.
sourcepub fn get_filters(&self) -> &Option<Vec<ImportTaskFilter>>
pub fn get_filters(&self) -> &Option<Vec<ImportTaskFilter>>
An array of name-value pairs that you provide to filter the results for the DescribeImportTask request to a specific subset of results. Currently, wildcard values aren't supported for filters.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results that you want this request to return, up to 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results that you want this request to return, up to 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results that you want this request to return, up to 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to request a specific page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to request a specific page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to request a specific page of results.
sourcepub fn build(self) -> Result<DescribeImportTasksInput, BuildError>
pub fn build(self) -> Result<DescribeImportTasksInput, BuildError>
Consumes the builder and constructs a DescribeImportTasksInput.
source§impl DescribeImportTasksInputBuilder
impl DescribeImportTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeImportTasksOutput, SdkError<DescribeImportTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeImportTasksOutput, SdkError<DescribeImportTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeImportTasksInputBuilder
impl Clone for DescribeImportTasksInputBuilder
source§fn clone(&self) -> DescribeImportTasksInputBuilder
fn clone(&self) -> DescribeImportTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeImportTasksInputBuilder
impl Default for DescribeImportTasksInputBuilder
source§fn default() -> DescribeImportTasksInputBuilder
fn default() -> DescribeImportTasksInputBuilder
source§impl PartialEq for DescribeImportTasksInputBuilder
impl PartialEq for DescribeImportTasksInputBuilder
source§fn eq(&self, other: &DescribeImportTasksInputBuilder) -> bool
fn eq(&self, other: &DescribeImportTasksInputBuilder) -> bool
self and other values to be equal, and is used
by ==.