Struct aws_sdk_workdocs::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadInputBuilder
source · #[non_exhaustive]pub struct InitiateDocumentVersionUploadInputBuilder { /* private fields */ }
Expand description
A builder for InitiateDocumentVersionUploadInput
.
Implementations§
source§impl InitiateDocumentVersionUploadInputBuilder
impl InitiateDocumentVersionUploadInputBuilder
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 content_created_timestamp(self, input: DateTime) -> Self
pub fn content_created_timestamp(self, input: DateTime) -> Self
The timestamp when the content of the document was originally created.
sourcepub fn set_content_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_content_created_timestamp(self, input: Option<DateTime>) -> Self
The timestamp when the content of the document was originally created.
sourcepub fn get_content_created_timestamp(&self) -> &Option<DateTime>
pub fn get_content_created_timestamp(&self) -> &Option<DateTime>
The timestamp when the content of the document was originally created.
sourcepub fn content_modified_timestamp(self, input: DateTime) -> Self
pub fn content_modified_timestamp(self, input: DateTime) -> Self
The timestamp when the content of the document was modified.
sourcepub fn set_content_modified_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_content_modified_timestamp(self, input: Option<DateTime>) -> Self
The timestamp when the content of the document was modified.
sourcepub fn get_content_modified_timestamp(&self) -> &Option<DateTime>
pub fn get_content_modified_timestamp(&self) -> &Option<DateTime>
The timestamp when the content of the document was modified.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
The content type of the document.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
The content type of the document.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
The content type of the document.
sourcepub fn document_size_in_bytes(self, input: i64) -> Self
pub fn document_size_in_bytes(self, input: i64) -> Self
The size of the document, in bytes.
sourcepub fn set_document_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_document_size_in_bytes(self, input: Option<i64>) -> Self
The size of the document, in bytes.
sourcepub fn get_document_size_in_bytes(&self) -> &Option<i64>
pub fn get_document_size_in_bytes(&self) -> &Option<i64>
The size of the document, in bytes.
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 build(self) -> Result<InitiateDocumentVersionUploadInput, BuildError>
pub fn build(self) -> Result<InitiateDocumentVersionUploadInput, BuildError>
Consumes the builder and constructs a InitiateDocumentVersionUploadInput
.
source§impl InitiateDocumentVersionUploadInputBuilder
impl InitiateDocumentVersionUploadInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<InitiateDocumentVersionUploadOutput, SdkError<InitiateDocumentVersionUploadError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<InitiateDocumentVersionUploadOutput, SdkError<InitiateDocumentVersionUploadError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for InitiateDocumentVersionUploadInputBuilder
impl Clone for InitiateDocumentVersionUploadInputBuilder
source§fn clone(&self) -> InitiateDocumentVersionUploadInputBuilder
fn clone(&self) -> InitiateDocumentVersionUploadInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InitiateDocumentVersionUploadInputBuilder
impl Default for InitiateDocumentVersionUploadInputBuilder
source§fn default() -> InitiateDocumentVersionUploadInputBuilder
fn default() -> InitiateDocumentVersionUploadInputBuilder
source§impl PartialEq for InitiateDocumentVersionUploadInputBuilder
impl PartialEq for InitiateDocumentVersionUploadInputBuilder
source§fn eq(&self, other: &InitiateDocumentVersionUploadInputBuilder) -> bool
fn eq(&self, other: &InitiateDocumentVersionUploadInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InitiateDocumentVersionUploadInputBuilder
Auto Trait Implementations§
impl Freeze for InitiateDocumentVersionUploadInputBuilder
impl RefUnwindSafe for InitiateDocumentVersionUploadInputBuilder
impl Send for InitiateDocumentVersionUploadInputBuilder
impl Sync for InitiateDocumentVersionUploadInputBuilder
impl Unpin for InitiateDocumentVersionUploadInputBuilder
impl UnwindSafe for InitiateDocumentVersionUploadInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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