Struct aws_sdk_workdocs::model::upload_metadata::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UploadMetadata
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn upload_url(self, input: impl Into<String>) -> Self
pub fn upload_url(self, input: impl Into<String>) -> Self
The URL of the upload.
sourcepub fn set_upload_url(self, input: Option<String>) -> Self
pub fn set_upload_url(self, input: Option<String>) -> Self
The URL of the upload.
sourcepub fn signed_headers(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn signed_headers(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to signed_headers
.
To override the contents of this collection use set_signed_headers
.
The signed headers.
sourcepub fn set_signed_headers(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_signed_headers(self, input: Option<HashMap<String, String>>) -> Self
The signed headers.
sourcepub fn build(self) -> UploadMetadata
pub fn build(self) -> UploadMetadata
Consumes the builder and constructs a UploadMetadata
.