#[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 ==.impl StructuralPartialEq for ObjectCountByEncryptionTypeBuilder
Auto Trait Implementations§
impl Freeze for ObjectCountByEncryptionTypeBuilder
impl RefUnwindSafe for ObjectCountByEncryptionTypeBuilder
impl Send for ObjectCountByEncryptionTypeBuilder
impl Sync for ObjectCountByEncryptionTypeBuilder
impl Unpin for ObjectCountByEncryptionTypeBuilder
impl UnwindSafe for ObjectCountByEncryptionTypeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more