pub struct PutObjectOptionsBuilder { /* private fields */ }Implementations§
Source§impl PutObjectOptionsBuilder
impl PutObjectOptionsBuilder
pub fn new() -> Self
pub fn mime_type(self, mime_type: impl Into<String>) -> Self
pub fn cache_control(self, cache_control: impl Into<String>) -> Self
pub fn content_disposition(self, content_disposition: impl Into<String>) -> Self
pub fn content_encoding(self, content_encoding: ContentEncoding) -> Self
pub fn content_md5(self, content_md5: impl Into<String>) -> Self
pub fn expires(self, expires: impl Into<String>) -> Self
pub fn forbid_overwrite(self, forbid_overwrite: bool) -> Self
pub fn server_side_encryption( self, algorithm: ServerSideEncryptionAlgorithm, ) -> Self
pub fn server_side_data_encryption( self, algorithm: ServerSideEncryptionAlgorithm, ) -> Self
pub fn server_side_encryption_key_id(self, key_id: impl Into<String>) -> Self
pub fn object_acl(self, acl: ObjectAcl) -> Self
pub fn storage_class(self, storage_class: StorageClass) -> Self
pub fn metadata(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn tag(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn callback(self, cb: Callback) -> Self
pub fn parameter(self, key: impl Into<String>, value: impl Into<String>) -> Self
pub fn build(self) -> PutObjectOptions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PutObjectOptionsBuilder
impl RefUnwindSafe for PutObjectOptionsBuilder
impl Send for PutObjectOptionsBuilder
impl Sync for PutObjectOptionsBuilder
impl Unpin for PutObjectOptionsBuilder
impl UnsafeUnpin for PutObjectOptionsBuilder
impl UnwindSafe for PutObjectOptionsBuilder
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