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 get_bucket_arn(&self) -> &Option<String>
pub fn get_bucket_arn(&self) -> &Option<String>
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 get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
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 get_extension(&self) -> &Option<String>
pub fn get_extension(&self) -> &Option<String>
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 name (key) of the object, including the object's prefix if applicable.
sourcepub fn set_key(self, input: Option<String>) -> Self
pub fn set_key(self, input: Option<String>) -> Self
The full name (key) of the object, including the object's prefix if applicable.
sourcepub fn get_key(&self) -> &Option<String>
pub fn get_key(&self) -> &Option<String>
The full name (key) of the object, including the object's prefix if applicable.
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 get_last_modified(&self) -> &Option<DateTime>
pub fn get_last_modified(&self) -> &Option<DateTime>
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 full path to the affected object, including the name of the affected bucket and the object's name (key).
sourcepub fn set_path(self, input: Option<String>) -> Self
pub fn set_path(self, input: Option<String>) -> Self
The full path to the affected object, including the name of the affected bucket and the object's name (key).
sourcepub fn get_path(&self) -> &Option<String>
pub fn get_path(&self) -> &Option<String>
The full path to the affected object, including the name of the affected bucket and the object's name (key).
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 get_public_access(&self) -> &Option<bool>
pub fn get_public_access(&self) -> &Option<bool>
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 get_server_side_encryption(&self) -> &Option<ServerSideEncryption>
pub fn get_server_side_encryption(&self) -> &Option<ServerSideEncryption>
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.
sourcepub fn get_storage_class(&self) -> &Option<StorageClass>
pub fn get_storage_class(&self) -> &Option<StorageClass>
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.
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.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
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 ==
.