pub struct Builder { /* private fields */ }
Expand description
A builder for DescribeFolderContentsInput
.
Implementations§
source§impl Builder
impl Builder
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 AWS 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 AWS 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 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 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 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 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 build(self) -> Result<DescribeFolderContentsInput, BuildError>
pub fn build(self) -> Result<DescribeFolderContentsInput, BuildError>
Consumes the builder and constructs a DescribeFolderContentsInput
.