Struct aws_sdk_securityhub::types::AwsS3ObjectDetails
source · #[non_exhaustive]pub struct AwsS3ObjectDetails {
pub last_modified: Option<String>,
pub e_tag: Option<String>,
pub version_id: Option<String>,
pub content_type: Option<String>,
pub server_side_encryption: Option<String>,
pub ssekms_key_id: Option<String>,
}
Expand description
Details about an Amazon S3 object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.last_modified: 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
.
e_tag: Option<String>
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
version_id: Option<String>
The version of the object.
content_type: Option<String>
A standard MIME type describing the format of the object data.
server_side_encryption: 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.
ssekms_key_id: Option<String>
The identifier of the KMS symmetric customer managed key that was used for the object.
Implementations§
source§impl AwsS3ObjectDetails
impl AwsS3ObjectDetails
sourcepub fn last_modified(&self) -> Option<&str>
pub fn last_modified(&self) -> Option<&str>
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) -> Option<&str>
pub fn e_tag(&self) -> Option<&str>
The opaque identifier assigned by a web server to a specific version of a resource found at a URL.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The version of the object.
sourcepub fn content_type(&self) -> Option<&str>
pub fn content_type(&self) -> Option<&str>
A standard MIME type describing the format of the object data.
sourcepub fn server_side_encryption(&self) -> Option<&str>
pub fn server_side_encryption(&self) -> Option<&str>
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) -> Option<&str>
pub fn ssekms_key_id(&self) -> Option<&str>
The identifier of the KMS symmetric customer managed key that was used for the object.
source§impl AwsS3ObjectDetails
impl AwsS3ObjectDetails
sourcepub fn builder() -> AwsS3ObjectDetailsBuilder
pub fn builder() -> AwsS3ObjectDetailsBuilder
Creates a new builder-style object to manufacture AwsS3ObjectDetails
.
Trait Implementations§
source§impl Clone for AwsS3ObjectDetails
impl Clone for AwsS3ObjectDetails
source§fn clone(&self) -> AwsS3ObjectDetails
fn clone(&self) -> AwsS3ObjectDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsS3ObjectDetails
impl Debug for AwsS3ObjectDetails
source§impl PartialEq for AwsS3ObjectDetails
impl PartialEq for AwsS3ObjectDetails
source§fn eq(&self, other: &AwsS3ObjectDetails) -> bool
fn eq(&self, other: &AwsS3ObjectDetails) -> bool
self
and other
values to be equal, and is used
by ==
.