pub struct Builder { /* private fields */ }
Expand description
A builder for GetDocumentVersionOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metadata(self, input: DocumentVersionMetadata) -> Self
pub fn metadata(self, input: DocumentVersionMetadata) -> Self
The version metadata.
sourcepub fn set_metadata(self, input: Option<DocumentVersionMetadata>) -> Self
pub fn set_metadata(self, input: Option<DocumentVersionMetadata>) -> Self
The version metadata.
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 version.
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 version.
sourcepub fn build(self) -> GetDocumentVersionOutput
pub fn build(self) -> GetDocumentVersionOutput
Consumes the builder and constructs a GetDocumentVersionOutput
.