Struct aws_sdk_s3control::types::builders::S3ObjectMetadataBuilder
source · #[non_exhaustive]pub struct S3ObjectMetadataBuilder { /* private fields */ }
Expand description
A builder for S3ObjectMetadata
.
Implementations§
source§impl S3ObjectMetadataBuilder
impl S3ObjectMetadataBuilder
sourcepub fn cache_control(self, input: impl Into<String>) -> Self
pub fn cache_control(self, input: impl Into<String>) -> Self
sourcepub fn set_cache_control(self, input: Option<String>) -> Self
pub fn set_cache_control(self, input: Option<String>) -> Self
sourcepub fn get_cache_control(&self) -> &Option<String>
pub fn get_cache_control(&self) -> &Option<String>
sourcepub fn content_disposition(self, input: impl Into<String>) -> Self
pub fn content_disposition(self, input: impl Into<String>) -> Self
sourcepub fn set_content_disposition(self, input: Option<String>) -> Self
pub fn set_content_disposition(self, input: Option<String>) -> Self
sourcepub fn get_content_disposition(&self) -> &Option<String>
pub fn get_content_disposition(&self) -> &Option<String>
sourcepub fn content_encoding(self, input: impl Into<String>) -> Self
pub fn content_encoding(self, input: impl Into<String>) -> Self
sourcepub fn set_content_encoding(self, input: Option<String>) -> Self
pub fn set_content_encoding(self, input: Option<String>) -> Self
sourcepub fn get_content_encoding(&self) -> &Option<String>
pub fn get_content_encoding(&self) -> &Option<String>
sourcepub fn content_language(self, input: impl Into<String>) -> Self
pub fn content_language(self, input: impl Into<String>) -> Self
sourcepub fn set_content_language(self, input: Option<String>) -> Self
pub fn set_content_language(self, input: Option<String>) -> Self
sourcepub fn get_content_language(&self) -> &Option<String>
pub fn get_content_language(&self) -> &Option<String>
sourcepub fn user_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn user_metadata(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to user_metadata
.
To override the contents of this collection use set_user_metadata
.
sourcepub fn content_length(self, input: i64) -> Self
pub fn content_length(self, input: i64) -> Self
sourcepub fn set_content_length(self, input: Option<i64>) -> Self
pub fn set_content_length(self, input: Option<i64>) -> Self
sourcepub fn get_content_length(&self) -> &Option<i64>
pub fn get_content_length(&self) -> &Option<i64>
sourcepub fn content_md5(self, input: impl Into<String>) -> Self
pub fn content_md5(self, input: impl Into<String>) -> Self
sourcepub fn set_content_md5(self, input: Option<String>) -> Self
pub fn set_content_md5(self, input: Option<String>) -> Self
sourcepub fn get_content_md5(&self) -> &Option<String>
pub fn get_content_md5(&self) -> &Option<String>
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
sourcepub fn http_expires_date(self, input: DateTime) -> Self
pub fn http_expires_date(self, input: DateTime) -> Self
sourcepub fn set_http_expires_date(self, input: Option<DateTime>) -> Self
pub fn set_http_expires_date(self, input: Option<DateTime>) -> Self
sourcepub fn get_http_expires_date(&self) -> &Option<DateTime>
pub fn get_http_expires_date(&self) -> &Option<DateTime>
sourcepub fn requester_charged(self, input: bool) -> Self
pub fn requester_charged(self, input: bool) -> Self
sourcepub fn set_requester_charged(self, input: Option<bool>) -> Self
pub fn set_requester_charged(self, input: Option<bool>) -> Self
sourcepub fn get_requester_charged(&self) -> &Option<bool>
pub fn get_requester_charged(&self) -> &Option<bool>
sourcepub fn sse_algorithm(self, input: S3SseAlgorithm) -> Self
pub fn sse_algorithm(self, input: S3SseAlgorithm) -> Self
sourcepub fn set_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
pub fn set_sse_algorithm(self, input: Option<S3SseAlgorithm>) -> Self
sourcepub fn get_sse_algorithm(&self) -> &Option<S3SseAlgorithm>
pub fn get_sse_algorithm(&self) -> &Option<S3SseAlgorithm>
sourcepub fn build(self) -> S3ObjectMetadata
pub fn build(self) -> S3ObjectMetadata
Consumes the builder and constructs a S3ObjectMetadata
.
Trait Implementations§
source§impl Clone for S3ObjectMetadataBuilder
impl Clone for S3ObjectMetadataBuilder
source§fn clone(&self) -> S3ObjectMetadataBuilder
fn clone(&self) -> S3ObjectMetadataBuilder
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 Debug for S3ObjectMetadataBuilder
impl Debug for S3ObjectMetadataBuilder
source§impl Default for S3ObjectMetadataBuilder
impl Default for S3ObjectMetadataBuilder
source§fn default() -> S3ObjectMetadataBuilder
fn default() -> S3ObjectMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3ObjectMetadataBuilder
impl PartialEq for S3ObjectMetadataBuilder
source§fn eq(&self, other: &S3ObjectMetadataBuilder) -> bool
fn eq(&self, other: &S3ObjectMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3ObjectMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for S3ObjectMetadataBuilder
impl Send for S3ObjectMetadataBuilder
impl Sync for S3ObjectMetadataBuilder
impl Unpin for S3ObjectMetadataBuilder
impl UnwindSafe for S3ObjectMetadataBuilder
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> 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>
Creates a shared type from an unshared type.