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 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 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 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 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 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 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 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 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 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 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<S3ObjectMetadataBuilder> for S3ObjectMetadataBuilder
impl PartialEq<S3ObjectMetadataBuilder> 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 ==
.