#[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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn get_last_modified(&self) -> &Option<String>
pub fn get_last_modified(&self) -> &Option<String>
Indicates when the object was last modified.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
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 ==.