Struct aws_sdk_securityhub::model::aws_s3_object_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AwsS3ObjectDetails
.
Implementations§
source§impl Builder
impl Builder
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. 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. 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 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 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 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 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 build(self) -> AwsS3ObjectDetails
pub fn build(self) -> AwsS3ObjectDetails
Consumes the builder and constructs a AwsS3ObjectDetails
.