#[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 ==
.impl StructuralPartialEq for UpdateFolderInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateFolderInputBuilder
impl RefUnwindSafe for UpdateFolderInputBuilder
impl Send for UpdateFolderInputBuilder
impl Sync for UpdateFolderInputBuilder
impl Unpin for UpdateFolderInputBuilder
impl UnwindSafe for UpdateFolderInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more