#[non_exhaustive]pub struct AwsS3ObjectDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsS3ObjectDetails
.
Implementations§
source§impl AwsS3ObjectDetailsBuilder
impl AwsS3ObjectDetailsBuilder
sourcepub fn last_modified(self, input: impl Into<String>) -> Self
pub fn last_modified(self, input: impl Into<String>) -> Self
Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_last_modified(self, input: Option<String>) -> Self
pub fn set_last_modified(self, input: Option<String>) -> Self
Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn get_last_modified(&self) -> &Option<String>
pub fn get_last_modified(&self) -> &Option<String>
Indicates when the object was last modified.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T
. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The version of the object.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
The version of the object.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The version of the object.
sourcepub fn content_type(self, input: impl Into<String>) -> Self
pub fn content_type(self, input: impl Into<String>) -> Self
A standard MIME type describing the format of the object data.
sourcepub fn set_content_type(self, input: Option<String>) -> Self
pub fn set_content_type(self, input: Option<String>) -> Self
A standard MIME type describing the format of the object data.
sourcepub fn get_content_type(&self) -> &Option<String>
pub fn get_content_type(&self) -> &Option<String>
A standard MIME type describing the format of the object data.
sourcepub fn server_side_encryption(self, input: impl Into<String>) -> Self
pub fn server_side_encryption(self, input: impl Into<String>) -> Self
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn set_server_side_encryption(self, input: Option<String>) -> Self
pub fn set_server_side_encryption(self, input: Option<String>) -> Self
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn get_server_side_encryption(&self) -> &Option<String>
pub fn get_server_side_encryption(&self) -> &Option<String>
If the object is stored using server-side encryption, the value of the server-side encryption algorithm used when storing this object in Amazon S3.
sourcepub fn ssekms_key_id(self, input: impl Into<String>) -> Self
pub fn ssekms_key_id(self, input: impl Into<String>) -> Self
The identifier of the KMS symmetric customer managed key that was used for the object.
sourcepub fn set_ssekms_key_id(self, input: Option<String>) -> Self
pub fn set_ssekms_key_id(self, input: Option<String>) -> Self
The identifier of the KMS symmetric customer managed key that was used for the object.
sourcepub fn get_ssekms_key_id(&self) -> &Option<String>
pub fn get_ssekms_key_id(&self) -> &Option<String>
The identifier of the KMS symmetric customer managed key that was used for the object.
sourcepub fn build(self) -> AwsS3ObjectDetails
pub fn build(self) -> AwsS3ObjectDetails
Consumes the builder and constructs a AwsS3ObjectDetails
.
Trait Implementations§
source§impl Clone for AwsS3ObjectDetailsBuilder
impl Clone for AwsS3ObjectDetailsBuilder
source§fn clone(&self) -> AwsS3ObjectDetailsBuilder
fn clone(&self) -> AwsS3ObjectDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsS3ObjectDetailsBuilder
impl Debug for AwsS3ObjectDetailsBuilder
source§impl Default for AwsS3ObjectDetailsBuilder
impl Default for AwsS3ObjectDetailsBuilder
source§fn default() -> AwsS3ObjectDetailsBuilder
fn default() -> AwsS3ObjectDetailsBuilder
source§impl PartialEq for AwsS3ObjectDetailsBuilder
impl PartialEq for AwsS3ObjectDetailsBuilder
source§fn eq(&self, other: &AwsS3ObjectDetailsBuilder) -> bool
fn eq(&self, other: &AwsS3ObjectDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.