Struct aws_sdk_workdocs::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadOutputBuilder
source · #[non_exhaustive]pub struct InitiateDocumentVersionUploadOutputBuilder { /* private fields */ }
Expand description
A builder for InitiateDocumentVersionUploadOutput
.
Implementations§
source§impl InitiateDocumentVersionUploadOutputBuilder
impl InitiateDocumentVersionUploadOutputBuilder
sourcepub fn metadata(self, input: DocumentMetadata) -> Self
pub fn metadata(self, input: DocumentMetadata) -> Self
The document metadata.
sourcepub fn set_metadata(self, input: Option<DocumentMetadata>) -> Self
pub fn set_metadata(self, input: Option<DocumentMetadata>) -> Self
The document metadata.
sourcepub fn get_metadata(&self) -> &Option<DocumentMetadata>
pub fn get_metadata(&self) -> &Option<DocumentMetadata>
The document metadata.
sourcepub fn upload_metadata(self, input: UploadMetadata) -> Self
pub fn upload_metadata(self, input: UploadMetadata) -> Self
The upload metadata.
sourcepub fn set_upload_metadata(self, input: Option<UploadMetadata>) -> Self
pub fn set_upload_metadata(self, input: Option<UploadMetadata>) -> Self
The upload metadata.
sourcepub fn get_upload_metadata(&self) -> &Option<UploadMetadata>
pub fn get_upload_metadata(&self) -> &Option<UploadMetadata>
The upload metadata.
sourcepub fn build(self) -> InitiateDocumentVersionUploadOutput
pub fn build(self) -> InitiateDocumentVersionUploadOutput
Consumes the builder and constructs a InitiateDocumentVersionUploadOutput
.
Trait Implementations§
source§impl Clone for InitiateDocumentVersionUploadOutputBuilder
impl Clone for InitiateDocumentVersionUploadOutputBuilder
source§fn clone(&self) -> InitiateDocumentVersionUploadOutputBuilder
fn clone(&self) -> InitiateDocumentVersionUploadOutputBuilder
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 InitiateDocumentVersionUploadOutputBuilder
impl Default for InitiateDocumentVersionUploadOutputBuilder
source§fn default() -> InitiateDocumentVersionUploadOutputBuilder
fn default() -> InitiateDocumentVersionUploadOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for InitiateDocumentVersionUploadOutputBuilder
impl PartialEq for InitiateDocumentVersionUploadOutputBuilder
source§fn eq(&self, other: &InitiateDocumentVersionUploadOutputBuilder) -> bool
fn eq(&self, other: &InitiateDocumentVersionUploadOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InitiateDocumentVersionUploadOutputBuilder
Auto Trait Implementations§
impl Freeze for InitiateDocumentVersionUploadOutputBuilder
impl RefUnwindSafe for InitiateDocumentVersionUploadOutputBuilder
impl Send for InitiateDocumentVersionUploadOutputBuilder
impl Sync for InitiateDocumentVersionUploadOutputBuilder
impl Unpin for InitiateDocumentVersionUploadOutputBuilder
impl UnwindSafe for InitiateDocumentVersionUploadOutputBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.