#[non_exhaustive]pub struct UpdateFolderInputBuilder { /* private fields */ }
Expand description
A builder for UpdateFolderInput
.
Implementations§
source§impl UpdateFolderInputBuilder
impl UpdateFolderInputBuilder
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 folder_id(self, input: impl Into<String>) -> Self
pub fn folder_id(self, input: impl Into<String>) -> Self
The ID of the folder.
This field is required.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 parent_folder_id(self, input: impl Into<String>) -> Self
pub fn parent_folder_id(self, input: impl Into<String>) -> Self
The ID of the parent folder.
sourcepub fn set_parent_folder_id(self, input: Option<String>) -> Self
pub fn set_parent_folder_id(self, input: Option<String>) -> Self
The ID of the parent folder.
sourcepub fn get_parent_folder_id(&self) -> &Option<String>
pub fn get_parent_folder_id(&self) -> &Option<String>
The ID of the parent folder.
sourcepub fn resource_state(self, input: ResourceStateType) -> Self
pub fn resource_state(self, input: ResourceStateType) -> Self
The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
sourcepub fn set_resource_state(self, input: Option<ResourceStateType>) -> Self
pub fn set_resource_state(self, input: Option<ResourceStateType>) -> Self
The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
sourcepub fn get_resource_state(&self) -> &Option<ResourceStateType>
pub fn get_resource_state(&self) -> &Option<ResourceStateType>
The resource state of the folder. Only ACTIVE and RECYCLED are accepted values from the API.
sourcepub fn build(self) -> Result<UpdateFolderInput, BuildError>
pub fn build(self) -> Result<UpdateFolderInput, BuildError>
Consumes the builder and constructs a UpdateFolderInput
.
source§impl UpdateFolderInputBuilder
impl UpdateFolderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateFolderOutput, SdkError<UpdateFolderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateFolderOutput, SdkError<UpdateFolderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateFolderInputBuilder
impl Clone for UpdateFolderInputBuilder
source§fn clone(&self) -> UpdateFolderInputBuilder
fn clone(&self) -> UpdateFolderInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFolderInputBuilder
impl Debug for UpdateFolderInputBuilder
source§impl Default for UpdateFolderInputBuilder
impl Default for UpdateFolderInputBuilder
source§fn default() -> UpdateFolderInputBuilder
fn default() -> UpdateFolderInputBuilder
source§impl PartialEq for UpdateFolderInputBuilder
impl PartialEq for UpdateFolderInputBuilder
source§fn eq(&self, other: &UpdateFolderInputBuilder) -> bool
fn eq(&self, other: &UpdateFolderInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.