Struct aws_sdk_macie2::output::get_bucket_statistics_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for GetBucketStatisticsOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn bucket_count(self, input: i64) -> Self
pub fn bucket_count(self, input: i64) -> Self
The total number of buckets.
sourcepub fn set_bucket_count(self, input: Option<i64>) -> Self
pub fn set_bucket_count(self, input: Option<i64>) -> Self
The total number of buckets.
sourcepub fn bucket_count_by_effective_permission(
self,
input: BucketCountByEffectivePermission
) -> Self
pub fn bucket_count_by_effective_permission(
self,
input: BucketCountByEffectivePermission
) -> Self
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
sourcepub fn set_bucket_count_by_effective_permission(
self,
input: Option<BucketCountByEffectivePermission>
) -> Self
pub fn set_bucket_count_by_effective_permission(
self,
input: Option<BucketCountByEffectivePermission>
) -> Self
The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
sourcepub fn bucket_count_by_encryption_type(
self,
input: BucketCountByEncryptionType
) -> Self
pub fn bucket_count_by_encryption_type(
self,
input: BucketCountByEncryptionType
) -> Self
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
sourcepub fn set_bucket_count_by_encryption_type(
self,
input: Option<BucketCountByEncryptionType>
) -> Self
pub fn set_bucket_count_by_encryption_type(
self,
input: Option<BucketCountByEncryptionType>
) -> Self
The total number of buckets that use certain types of server-side encryption to encrypt new objects by default. This object also reports the total number of buckets that don't encrypt new objects by default.
sourcepub fn bucket_count_by_object_encryption_requirement(
self,
input: BucketCountPolicyAllowsUnencryptedObjectUploads
) -> Self
pub fn bucket_count_by_object_encryption_requirement(
self,
input: BucketCountPolicyAllowsUnencryptedObjectUploads
) -> Self
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are uploaded to the buckets.
sourcepub fn set_bucket_count_by_object_encryption_requirement(
self,
input: Option<BucketCountPolicyAllowsUnencryptedObjectUploads>
) -> Self
pub fn set_bucket_count_by_object_encryption_requirement(
self,
input: Option<BucketCountPolicyAllowsUnencryptedObjectUploads>
) -> Self
The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are uploaded to the buckets.
The total number of buckets that are or aren't shared with another Amazon Web Services account.
The total number of buckets that are or aren't shared with another Amazon Web Services account.
sourcepub fn classifiable_object_count(self, input: i64) -> Self
pub fn classifiable_object_count(self, input: i64) -> Self
The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
sourcepub fn set_classifiable_object_count(self, input: Option<i64>) -> Self
pub fn set_classifiable_object_count(self, input: Option<i64>) -> Self
The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
sourcepub fn classifiable_size_in_bytes(self, input: i64) -> Self
pub fn classifiable_size_in_bytes(self, input: i64) -> Self
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
sourcepub fn set_classifiable_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_classifiable_size_in_bytes(self, input: Option<i64>) -> Self
The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the buckets.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the buckets.
sourcepub fn object_count(self, input: i64) -> Self
pub fn object_count(self, input: i64) -> Self
The total number of objects in the buckets.
sourcepub fn set_object_count(self, input: Option<i64>) -> Self
pub fn set_object_count(self, input: Option<i64>) -> Self
The total number of objects in the buckets.
sourcepub fn size_in_bytes(self, input: i64) -> Self
pub fn size_in_bytes(self, input: i64) -> Self
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
sourcepub fn set_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_size_in_bytes(self, input: Option<i64>) -> Self
The total storage size, in bytes, of the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
sourcepub fn size_in_bytes_compressed(self, input: i64) -> Self
pub fn size_in_bytes_compressed(self, input: i64) -> Self
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
sourcepub fn set_size_in_bytes_compressed(self, input: Option<i64>) -> Self
pub fn set_size_in_bytes_compressed(self, input: Option<i64>) -> Self
The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.
If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
sourcepub fn unclassifiable_object_count(self, input: ObjectLevelStatistics) -> Self
pub fn unclassifiable_object_count(self, input: ObjectLevelStatistics) -> Self
The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
sourcepub fn set_unclassifiable_object_count(
self,
input: Option<ObjectLevelStatistics>
) -> Self
pub fn set_unclassifiable_object_count(
self,
input: Option<ObjectLevelStatistics>
) -> Self
The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
sourcepub fn unclassifiable_object_size_in_bytes(
self,
input: ObjectLevelStatistics
) -> Self
pub fn unclassifiable_object_size_in_bytes(
self,
input: ObjectLevelStatistics
) -> Self
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
sourcepub fn set_unclassifiable_object_size_in_bytes(
self,
input: Option<ObjectLevelStatistics>
) -> Self
pub fn set_unclassifiable_object_size_in_bytes(
self,
input: Option<ObjectLevelStatistics>
) -> Self
The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
sourcepub fn build(self) -> GetBucketStatisticsOutput
pub fn build(self) -> GetBucketStatisticsOutput
Consumes the builder and constructs a GetBucketStatisticsOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more