#[non_exhaustive]pub struct CreateFolderInputBuilder { /* private fields */ }
Expand description
A builder for CreateFolderInput
.
Implementations§
source§impl CreateFolderInputBuilder
impl CreateFolderInputBuilder
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 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.
This field is required.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 build(self) -> Result<CreateFolderInput, BuildError>
pub fn build(self) -> Result<CreateFolderInput, BuildError>
Consumes the builder and constructs a CreateFolderInput
.
source§impl CreateFolderInputBuilder
impl CreateFolderInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateFolderOutput, SdkError<CreateFolderError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateFolderOutput, SdkError<CreateFolderError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateFolderInputBuilder
impl Clone for CreateFolderInputBuilder
source§fn clone(&self) -> CreateFolderInputBuilder
fn clone(&self) -> CreateFolderInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateFolderInputBuilder
impl Debug for CreateFolderInputBuilder
source§impl Default for CreateFolderInputBuilder
impl Default for CreateFolderInputBuilder
source§fn default() -> CreateFolderInputBuilder
fn default() -> CreateFolderInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateFolderInputBuilder
impl PartialEq for CreateFolderInputBuilder
source§fn eq(&self, other: &CreateFolderInputBuilder) -> bool
fn eq(&self, other: &CreateFolderInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateFolderInputBuilder
Auto Trait Implementations§
impl Freeze for CreateFolderInputBuilder
impl RefUnwindSafe for CreateFolderInputBuilder
impl Send for CreateFolderInputBuilder
impl Sync for CreateFolderInputBuilder
impl Unpin for CreateFolderInputBuilder
impl UnwindSafe for CreateFolderInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.