pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteDocumentVersionInput
.
Implementations§
source§impl Builder
impl Builder
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 AWS 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 AWS 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 a document.
sourcepub fn set_document_id(self, input: Option<String>) -> Self
pub fn set_document_id(self, input: Option<String>) -> Self
The ID of a document.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The version ID of a document.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The version ID of a document.
sourcepub fn delete_prior_versions(self, input: bool) -> Self
pub fn delete_prior_versions(self, input: bool) -> Self
When set to TRUE
, deletes the specified version and all prior versions of a document.
sourcepub fn set_delete_prior_versions(self, input: Option<bool>) -> Self
pub fn set_delete_prior_versions(self, input: Option<bool>) -> Self
When set to TRUE
, deletes the specified version and all prior versions of a document.
sourcepub fn build(self) -> Result<DeleteDocumentVersionInput, BuildError>
pub fn build(self) -> Result<DeleteDocumentVersionInput, BuildError>
Consumes the builder and constructs a DeleteDocumentVersionInput
.