pub struct Builder { /* private fields */ }
Expand description
A builder for S3Object
.
Implementations
sourceimpl Builder
impl Builder
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's 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's 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.