Struct aws_sdk_workdocs::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadInputBuilder
source · #[non_exhaustive]pub struct AbortDocumentVersionUploadInputBuilder { /* private fields */ }Expand description
A builder for AbortDocumentVersionUploadInput.
Implementations§
source§impl AbortDocumentVersionUploadInputBuilder
impl AbortDocumentVersionUploadInputBuilder
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 document_id(self, input: impl Into<String>) -> Self
pub fn document_id(self, input: impl Into<String>) -> Self
The ID of the document.
sourcepub fn set_document_id(self, input: Option<String>) -> Self
pub fn set_document_id(self, input: Option<String>) -> Self
The ID of the document.
sourcepub fn get_document_id(&self) -> &Option<String>
pub fn get_document_id(&self) -> &Option<String>
The ID of the document.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The ID of the version.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The ID of the version.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The ID of the version.
sourcepub fn build(self) -> Result<AbortDocumentVersionUploadInput, BuildError>
pub fn build(self) -> Result<AbortDocumentVersionUploadInput, BuildError>
Consumes the builder and constructs a AbortDocumentVersionUploadInput.
source§impl AbortDocumentVersionUploadInputBuilder
impl AbortDocumentVersionUploadInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AbortDocumentVersionUploadOutput, SdkError<AbortDocumentVersionUploadError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AbortDocumentVersionUploadOutput, SdkError<AbortDocumentVersionUploadError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AbortDocumentVersionUploadInputBuilder
impl Clone for AbortDocumentVersionUploadInputBuilder
source§fn clone(&self) -> AbortDocumentVersionUploadInputBuilder
fn clone(&self) -> AbortDocumentVersionUploadInputBuilder
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 Default for AbortDocumentVersionUploadInputBuilder
impl Default for AbortDocumentVersionUploadInputBuilder
source§fn default() -> AbortDocumentVersionUploadInputBuilder
fn default() -> AbortDocumentVersionUploadInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AbortDocumentVersionUploadInputBuilder
impl PartialEq for AbortDocumentVersionUploadInputBuilder
source§fn eq(&self, other: &AbortDocumentVersionUploadInputBuilder) -> bool
fn eq(&self, other: &AbortDocumentVersionUploadInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AbortDocumentVersionUploadInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AbortDocumentVersionUploadInputBuilder
impl Send for AbortDocumentVersionUploadInputBuilder
impl Sync for AbortDocumentVersionUploadInputBuilder
impl Unpin for AbortDocumentVersionUploadInputBuilder
impl UnwindSafe for AbortDocumentVersionUploadInputBuilder
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