#[non_exhaustive]pub struct ObjectCountByEncryptionTypeBuilder { /* private fields */ }
Expand description
A builder for ObjectCountByEncryptionType
.
Implementations§
source§impl ObjectCountByEncryptionTypeBuilder
impl ObjectCountByEncryptionTypeBuilder
sourcepub fn customer_managed(self, input: i64) -> Self
pub fn customer_managed(self, input: i64) -> Self
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn set_customer_managed(self, input: Option<i64>) -> Self
pub fn set_customer_managed(self, input: Option<i64>) -> Self
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn get_customer_managed(&self) -> &Option<i64>
pub fn get_customer_managed(&self) -> &Option<i64>
The total number of objects that are encrypted with customer-provided keys. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn kms_managed(self, input: i64) -> Self
pub fn kms_managed(self, input: i64) -> Self
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
sourcepub fn set_kms_managed(self, input: Option<i64>) -> Self
pub fn set_kms_managed(self, input: Option<i64>) -> Self
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
sourcepub fn get_kms_managed(&self) -> &Option<i64>
pub fn get_kms_managed(&self) -> &Option<i64>
The total number of objects that are encrypted with KMS keys, either Amazon Web Services managed keys or customer managed keys. The objects use dual-layer server-side encryption or server-side encryption with KMS keys (DSSE-KMS or SSE-KMS).
sourcepub fn s3_managed(self, input: i64) -> Self
pub fn s3_managed(self, input: i64) -> Self
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
sourcepub fn set_s3_managed(self, input: Option<i64>) -> Self
pub fn set_s3_managed(self, input: Option<i64>) -> Self
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
sourcepub fn get_s3_managed(&self) -> &Option<i64>
pub fn get_s3_managed(&self) -> &Option<i64>
The total number of objects that are encrypted with Amazon S3 managed keys. The objects use server-side encryption with Amazon S3 managed keys (SSE-S3).
sourcepub fn unencrypted(self, input: i64) -> Self
pub fn unencrypted(self, input: i64) -> Self
The total number of objects that use client-side encryption or aren't encrypted.
sourcepub fn set_unencrypted(self, input: Option<i64>) -> Self
pub fn set_unencrypted(self, input: Option<i64>) -> Self
The total number of objects that use client-side encryption or aren't encrypted.
sourcepub fn get_unencrypted(&self) -> &Option<i64>
pub fn get_unencrypted(&self) -> &Option<i64>
The total number of objects that use client-side encryption or aren't encrypted.
sourcepub fn unknown(self, input: i64) -> Self
pub fn unknown(self, input: i64) -> Self
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
sourcepub fn set_unknown(self, input: Option<i64>) -> Self
pub fn set_unknown(self, input: Option<i64>) -> Self
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
sourcepub fn get_unknown(&self) -> &Option<i64>
pub fn get_unknown(&self) -> &Option<i64>
The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.
sourcepub fn build(self) -> ObjectCountByEncryptionType
pub fn build(self) -> ObjectCountByEncryptionType
Consumes the builder and constructs a ObjectCountByEncryptionType
.
Trait Implementations§
source§impl Clone for ObjectCountByEncryptionTypeBuilder
impl Clone for ObjectCountByEncryptionTypeBuilder
source§fn clone(&self) -> ObjectCountByEncryptionTypeBuilder
fn clone(&self) -> ObjectCountByEncryptionTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ObjectCountByEncryptionTypeBuilder
impl Default for ObjectCountByEncryptionTypeBuilder
source§fn default() -> ObjectCountByEncryptionTypeBuilder
fn default() -> ObjectCountByEncryptionTypeBuilder
source§impl PartialEq for ObjectCountByEncryptionTypeBuilder
impl PartialEq for ObjectCountByEncryptionTypeBuilder
source§fn eq(&self, other: &ObjectCountByEncryptionTypeBuilder) -> bool
fn eq(&self, other: &ObjectCountByEncryptionTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.