#[non_exhaustive]pub struct BucketCountByEncryptionTypeBuilder { /* private fields */ }
Expand description
A builder for BucketCountByEncryptionType
.
Implementations§
source§impl BucketCountByEncryptionTypeBuilder
impl BucketCountByEncryptionTypeBuilder
sourcepub fn kms_managed(self, input: i64) -> Self
pub fn kms_managed(self, input: i64) -> Self
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon Web Services managed KMS key or a customer managed KMS key. By default, these buckets encrypt new objects automatically using SSE-KMS encryption.
sourcepub fn set_kms_managed(self, input: Option<i64>) -> Self
pub fn set_kms_managed(self, input: Option<i64>) -> Self
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon Web Services managed KMS key or a customer managed KMS key. By default, these buckets encrypt new objects automatically using SSE-KMS encryption.
sourcepub fn get_kms_managed(&self) -> &Option<i64>
pub fn get_kms_managed(&self) -> &Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon Web Services managed KMS key or a customer managed KMS key. By default, these buckets encrypt new objects automatically using SSE-KMS encryption.
sourcepub fn s3_managed(self, input: i64) -> Self
pub fn s3_managed(self, input: i64) -> Self
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
sourcepub fn set_s3_managed(self, input: Option<i64>) -> Self
pub fn set_s3_managed(self, input: Option<i64>) -> Self
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
sourcepub fn get_s3_managed(&self) -> &Option<i64>
pub fn get_s3_managed(&self) -> &Option<i64>
The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
sourcepub fn unencrypted(self, input: i64) -> Self
pub fn unencrypted(self, input: i64) -> Self
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
sourcepub fn set_unencrypted(self, input: Option<i64>) -> Self
pub fn set_unencrypted(self, input: Option<i64>) -> Self
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
sourcepub fn get_unencrypted(&self) -> &Option<i64>
pub fn get_unencrypted(&self) -> &Option<i64>
The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
sourcepub fn unknown(self, input: i64) -> Self
pub fn unknown(self, input: i64) -> Self
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
sourcepub fn set_unknown(self, input: Option<i64>) -> Self
pub fn set_unknown(self, input: Option<i64>) -> Self
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
sourcepub fn get_unknown(&self) -> &Option<i64>
pub fn get_unknown(&self) -> &Option<i64>
The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
sourcepub fn build(self) -> BucketCountByEncryptionType
pub fn build(self) -> BucketCountByEncryptionType
Consumes the builder and constructs a BucketCountByEncryptionType
.
Trait Implementations§
source§impl Clone for BucketCountByEncryptionTypeBuilder
impl Clone for BucketCountByEncryptionTypeBuilder
source§fn clone(&self) -> BucketCountByEncryptionTypeBuilder
fn clone(&self) -> BucketCountByEncryptionTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BucketCountByEncryptionTypeBuilder
impl Default for BucketCountByEncryptionTypeBuilder
source§fn default() -> BucketCountByEncryptionTypeBuilder
fn default() -> BucketCountByEncryptionTypeBuilder
source§impl PartialEq<BucketCountByEncryptionTypeBuilder> for BucketCountByEncryptionTypeBuilder
impl PartialEq<BucketCountByEncryptionTypeBuilder> for BucketCountByEncryptionTypeBuilder
source§fn eq(&self, other: &BucketCountByEncryptionTypeBuilder) -> bool
fn eq(&self, other: &BucketCountByEncryptionTypeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.