Struct aws_sdk_macie2::types::builders::S3ObjectBuilder
source · #[non_exhaustive]pub struct S3ObjectBuilder { /* private fields */ }
Expand description
A builder for S3Object
.
Implementations§
source§impl S3ObjectBuilder
impl S3ObjectBuilder
sourcepub fn bucket_arn(self, input: impl Into<String>) -> Self
pub fn bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the bucket that contains the object.
sourcepub fn set_bucket_arn(self, input: Option<String>) -> Self
pub fn set_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the bucket that contains the object.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.
sourcepub fn extension(self, input: impl Into<String>) -> Self
pub fn extension(self, input: impl Into<String>) -> Self
The file name extension of the object. If the object doesn't have a file name extension, this value is "".
sourcepub fn set_extension(self, input: Option<String>) -> Self
pub fn set_extension(self, input: Option<String>) -> Self
The file name extension of the object. If the object doesn't have a file name extension, this value is "".
sourcepub fn key(self, input: impl Into<String>) -> Self
pub fn key(self, input: impl Into<String>) -> Self
The full key (name) that's assigned to the object.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The full key (name) that's assigned to the object.
sourcepub fn last_modified(self, input: DateTime) -> Self
pub fn last_modified(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
sourcepub fn set_last_modified(self, input: Option<DateTime>) -> Self
pub fn set_last_modified(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when the object was last modified.
sourcepub fn path(self, input: impl Into<String>) -> Self
pub fn path(self, input: impl Into<String>) -> Self
The path to the object, including the full key (name).
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The path to the object, including the full key (name).
sourcepub fn public_access(self, input: bool) -> Self
pub fn public_access(self, input: bool) -> Self
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
sourcepub fn set_public_access(self, input: Option<bool>) -> Self
pub fn set_public_access(self, input: Option<bool>) -> Self
Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.
sourcepub fn server_side_encryption(self, input: ServerSideEncryption) -> Self
pub fn server_side_encryption(self, input: ServerSideEncryption) -> Self
The type of server-side encryption that was used to encrypt the object.
sourcepub fn set_server_side_encryption(
self,
input: Option<ServerSideEncryption>
) -> Self
pub fn set_server_side_encryption( self, input: Option<ServerSideEncryption> ) -> Self
The type of server-side encryption that was used to encrypt the object.
sourcepub fn set_size(self, input: Option<i64>) -> Self
pub fn set_size(self, input: Option<i64>) -> Self
The total storage size, in bytes, of the object.
sourcepub fn storage_class(self, input: StorageClass) -> Self
pub fn storage_class(self, input: StorageClass) -> Self
The storage class of the object.
sourcepub fn set_storage_class(self, input: Option<StorageClass>) -> Self
pub fn set_storage_class(self, input: Option<StorageClass>) -> Self
The storage class of the object.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags that are associated with the object.
The tags that are associated with the object.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The identifier for the affected 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 identifier for the affected version of the object.
Trait Implementations§
source§impl Clone for S3ObjectBuilder
impl Clone for S3ObjectBuilder
source§fn clone(&self) -> S3ObjectBuilder
fn clone(&self) -> S3ObjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ObjectBuilder
impl Debug for S3ObjectBuilder
source§impl Default for S3ObjectBuilder
impl Default for S3ObjectBuilder
source§fn default() -> S3ObjectBuilder
fn default() -> S3ObjectBuilder
source§impl PartialEq<S3ObjectBuilder> for S3ObjectBuilder
impl PartialEq<S3ObjectBuilder> for S3ObjectBuilder
source§fn eq(&self, other: &S3ObjectBuilder) -> bool
fn eq(&self, other: &S3ObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.