Struct aws_sdk_applicationdiscovery::operation::describe_export_tasks::builders::DescribeExportTasksFluentBuilder
source · pub struct DescribeExportTasksFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeExportTasks
.
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
Implementations§
source§impl DescribeExportTasksFluentBuilder
impl DescribeExportTasksFluentBuilder
sourcepub fn as_input(&self) -> &DescribeExportTasksInputBuilder
pub fn as_input(&self) -> &DescribeExportTasksInputBuilder
Access the DescribeExportTasks as a reference.
sourcepub async fn send(
self
) -> Result<DescribeExportTasksOutput, SdkError<DescribeExportTasksError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeExportTasksOutput, SdkError<DescribeExportTasksError, 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<DescribeExportTasksOutput, DescribeExportTasksError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeExportTasksOutput, DescribeExportTasksError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeExportTasksPaginator
pub fn into_paginator(self) -> DescribeExportTasksPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn export_ids(self, input: impl Into<String>) -> Self
pub fn export_ids(self, input: impl Into<String>) -> Self
Appends an item to exportIds
.
To override the contents of this collection use set_export_ids
.
One or more unique identifiers used to query the status of an export request.
sourcepub fn set_export_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_export_ids(self, input: Option<Vec<String>>) -> Self
One or more unique identifiers used to query the status of an export request.
sourcepub fn get_export_ids(&self) -> &Option<Vec<String>>
pub fn get_export_ids(&self) -> &Option<Vec<String>>
One or more unique identifiers used to query the status of an export request.
sourcepub fn filters(self, input: ExportFilter) -> Self
pub fn filters(self, input: ExportFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
One or more filters.
-
AgentId
- ID of the agent whose collected data will be exported
sourcepub fn set_filters(self, input: Option<Vec<ExportFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<ExportFilter>>) -> Self
One or more filters.
-
AgentId
- ID of the agent whose collected data will be exported
sourcepub fn get_filters(&self) -> &Option<Vec<ExportFilter>>
pub fn get_filters(&self) -> &Option<Vec<ExportFilter>>
One or more filters.
-
AgentId
- ID of the agent whose collected data will be exported
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of volume results returned by DescribeExportTasks
in paginated output. When this parameter is used, DescribeExportTasks
only returns maxResults
results in a single page along with a nextToken
response element.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of volume results returned by DescribeExportTasks
in paginated output. When this parameter is used, DescribeExportTasks
only returns maxResults
results in a single page along with a nextToken
response element.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of volume results returned by DescribeExportTasks
in paginated output. When this parameter is used, DescribeExportTasks
only returns maxResults
results in a single page along with a nextToken
response element.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous paginated DescribeExportTasks
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous paginated DescribeExportTasks
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value returned from a previous paginated DescribeExportTasks
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. This value is null when there are no more results to return.
Trait Implementations§
source§impl Clone for DescribeExportTasksFluentBuilder
impl Clone for DescribeExportTasksFluentBuilder
source§fn clone(&self) -> DescribeExportTasksFluentBuilder
fn clone(&self) -> DescribeExportTasksFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more