Struct aws_sdk_backupstorage::client::fluent_builders::ListObjects
source · pub struct ListObjects { /* private fields */ }
Expand description
Fluent builder constructing a request to ListObjects
.
List all Objects in a given Backup.
Implementations§
source§impl ListObjects
impl ListObjects
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListObjects, AwsResponseRetryClassifier>, SdkError<ListObjectsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListObjects, AwsResponseRetryClassifier>, SdkError<ListObjectsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<ListObjectsOutput, SdkError<ListObjectsError>>
pub async fn send(self) -> Result<ListObjectsOutput, SdkError<ListObjectsError>>
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 into_paginator(self) -> ListObjectsPaginator
pub fn into_paginator(self) -> ListObjectsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
sourcepub fn storage_job_id(self, input: impl Into<String>) -> Self
pub fn storage_job_id(self, input: impl Into<String>) -> Self
Storage job id
sourcepub fn set_storage_job_id(self, input: Option<String>) -> Self
pub fn set_storage_job_id(self, input: Option<String>) -> Self
Storage job id
sourcepub fn starting_object_name(self, input: impl Into<String>) -> Self
pub fn starting_object_name(self, input: impl Into<String>) -> Self
Optional, specifies the starting Object name to list from. Ignored if NextToken is not NULL
sourcepub fn set_starting_object_name(self, input: Option<String>) -> Self
pub fn set_starting_object_name(self, input: Option<String>) -> Self
Optional, specifies the starting Object name to list from. Ignored if NextToken is not NULL
sourcepub fn starting_object_prefix(self, input: impl Into<String>) -> Self
pub fn starting_object_prefix(self, input: impl Into<String>) -> Self
Optional, specifies the starting Object prefix to list from. Ignored if NextToken is not NULL
sourcepub fn set_starting_object_prefix(self, input: Option<String>) -> Self
pub fn set_starting_object_prefix(self, input: Option<String>) -> Self
Optional, specifies the starting Object prefix to list from. Ignored if NextToken is not NULL
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum objects count
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum objects count
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
(Optional) Created before filter
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
(Optional) Created before filter
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
(Optional) Created after filter
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
(Optional) Created after filter
Trait Implementations§
source§impl Clone for ListObjects
impl Clone for ListObjects
source§fn clone(&self) -> ListObjects
fn clone(&self) -> ListObjects
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more