Struct aws_sdk_workdocs::output::get_document_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetDocumentOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metadata(self, input: DocumentMetadata) -> Self
pub fn metadata(self, input: DocumentMetadata) -> Self
The metadata details of the document.
sourcepub fn set_metadata(self, input: Option<DocumentMetadata>) -> Self
pub fn set_metadata(self, input: Option<DocumentMetadata>) -> Self
The metadata details of the document.
sourcepub fn custom_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn custom_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to custom_metadata
.
To override the contents of this collection use set_custom_metadata
.
The custom metadata on the document.
sourcepub fn set_custom_metadata(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_custom_metadata(self, input: Option<HashMap<String, String>>) -> Self
The custom metadata on the document.
sourcepub fn build(self) -> GetDocumentOutput
pub fn build(self) -> GetDocumentOutput
Consumes the builder and constructs a GetDocumentOutput
.