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 ==
.