Struct aws_sdk_workdocs::operation::describe_folder_contents::builders::DescribeFolderContentsFluentBuilder
source · pub struct DescribeFolderContentsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeFolderContents
.
Describes the contents of the specified folder, including its documents and subfolders.
By default, Amazon WorkDocs returns the first 100 active document and folder metadata items. If there are more results, the response includes a marker that you can use to request the next set of results. You can also request initialized documents.
Implementations§
source§impl DescribeFolderContentsFluentBuilder
impl DescribeFolderContentsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeFolderContentsInputBuilder
pub fn as_input(&self) -> &DescribeFolderContentsInputBuilder
Access the DescribeFolderContents as a reference.
sourcepub async fn send(
self
) -> Result<DescribeFolderContentsOutput, SdkError<DescribeFolderContentsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeFolderContentsOutput, SdkError<DescribeFolderContentsError, 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<DescribeFolderContentsOutput, DescribeFolderContentsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeFolderContentsOutput, DescribeFolderContentsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeFolderContentsPaginator
pub fn into_paginator(self) -> DescribeFolderContentsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn authentication_token(self, input: impl Into<String>) -> Self
pub fn authentication_token(self, input: impl Into<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn set_authentication_token(self, input: Option<String>) -> Self
pub fn set_authentication_token(self, input: Option<String>) -> Self
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn get_authentication_token(&self) -> &Option<String>
pub fn get_authentication_token(&self) -> &Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn set_folder_id(self, input: Option<String>) -> Self
pub fn set_folder_id(self, input: Option<String>) -> Self
The ID of the folder.
sourcepub fn get_folder_id(&self) -> &Option<String>
pub fn get_folder_id(&self) -> &Option<String>
The ID of the folder.
sourcepub fn sort(self, input: ResourceSortType) -> Self
pub fn sort(self, input: ResourceSortType) -> Self
The sorting criteria.
sourcepub fn set_sort(self, input: Option<ResourceSortType>) -> Self
pub fn set_sort(self, input: Option<ResourceSortType>) -> Self
The sorting criteria.
sourcepub fn get_sort(&self) -> &Option<ResourceSortType>
pub fn get_sort(&self) -> &Option<ResourceSortType>
The sorting criteria.
sourcepub fn set_order(self, input: Option<OrderType>) -> Self
pub fn set_order(self, input: Option<OrderType>) -> Self
The order for the contents of the folder.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of items to return with this call.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The marker for the next set of results. This marker was received from a previous call.
sourcepub fn type(self, input: FolderContentType) -> Self
pub fn type(self, input: FolderContentType) -> Self
The type of items.
sourcepub fn set_type(self, input: Option<FolderContentType>) -> Self
pub fn set_type(self, input: Option<FolderContentType>) -> Self
The type of items.
sourcepub fn get_type(&self) -> &Option<FolderContentType>
pub fn get_type(&self) -> &Option<FolderContentType>
The type of items.
sourcepub fn include(self, input: impl Into<String>) -> Self
pub fn include(self, input: impl Into<String>) -> Self
The contents to include. Specify "INITIALIZED" to include initialized documents.
sourcepub fn set_include(self, input: Option<String>) -> Self
pub fn set_include(self, input: Option<String>) -> Self
The contents to include. Specify "INITIALIZED" to include initialized documents.
sourcepub fn get_include(&self) -> &Option<String>
pub fn get_include(&self) -> &Option<String>
The contents to include. Specify "INITIALIZED" to include initialized documents.
Trait Implementations§
source§impl Clone for DescribeFolderContentsFluentBuilder
impl Clone for DescribeFolderContentsFluentBuilder
source§fn clone(&self) -> DescribeFolderContentsFluentBuilder
fn clone(&self) -> DescribeFolderContentsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more