Struct aws_sdk_macie2::types::builders::ResourceStatisticsBuilder
source · #[non_exhaustive]pub struct ResourceStatisticsBuilder { /* private fields */ }
Expand description
A builder for ResourceStatistics
.
Implementations§
source§impl ResourceStatisticsBuilder
impl ResourceStatisticsBuilder
sourcepub fn total_bytes_classified(self, input: i64) -> Self
pub fn total_bytes_classified(self, input: i64) -> Self
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
sourcepub fn set_total_bytes_classified(self, input: Option<i64>) -> Self
pub fn set_total_bytes_classified(self, input: Option<i64>) -> Self
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
sourcepub fn get_total_bytes_classified(&self) -> &Option<i64>
pub fn get_total_bytes_classified(&self) -> &Option<i64>
The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
sourcepub fn total_detections(self, input: i64) -> Self
pub fn total_detections(self, input: i64) -> Self
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).
sourcepub fn set_total_detections(self, input: Option<i64>) -> Self
pub fn set_total_detections(self, input: Option<i64>) -> Self
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).
sourcepub fn get_total_detections(&self) -> &Option<i64>
pub fn get_total_detections(&self) -> &Option<i64>
The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).
sourcepub fn total_detections_suppressed(self, input: i64) -> Self
pub fn total_detections_suppressed(self, input: i64) -> Self
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
sourcepub fn set_total_detections_suppressed(self, input: Option<i64>) -> Self
pub fn set_total_detections_suppressed(self, input: Option<i64>) -> Self
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
sourcepub fn get_total_detections_suppressed(&self) -> &Option<i64>
pub fn get_total_detections_suppressed(&self) -> &Option<i64>
The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
sourcepub fn total_items_classified(self, input: i64) -> Self
pub fn total_items_classified(self, input: i64) -> Self
The total number of objects that Amazon Macie has analyzed in the bucket.
sourcepub fn set_total_items_classified(self, input: Option<i64>) -> Self
pub fn set_total_items_classified(self, input: Option<i64>) -> Self
The total number of objects that Amazon Macie has analyzed in the bucket.
sourcepub fn get_total_items_classified(&self) -> &Option<i64>
pub fn get_total_items_classified(&self) -> &Option<i64>
The total number of objects that Amazon Macie has analyzed in the bucket.
sourcepub fn total_items_sensitive(self, input: i64) -> Self
pub fn total_items_sensitive(self, input: i64) -> Self
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
sourcepub fn set_total_items_sensitive(self, input: Option<i64>) -> Self
pub fn set_total_items_sensitive(self, input: Option<i64>) -> Self
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
sourcepub fn get_total_items_sensitive(&self) -> &Option<i64>
pub fn get_total_items_sensitive(&self) -> &Option<i64>
The total number of the bucket's objects that Amazon Macie has found sensitive data in.
sourcepub fn total_items_skipped(self, input: i64) -> Self
pub fn total_items_skipped(self, input: i64) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
sourcepub fn set_total_items_skipped(self, input: Option<i64>) -> Self
pub fn set_total_items_skipped(self, input: Option<i64>) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
sourcepub fn get_total_items_skipped(&self) -> &Option<i64>
pub fn get_total_items_skipped(&self) -> &Option<i64>
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to an object-level issue or error. For example, an object is a malformed file. This value includes objects that Macie wasn't able to analyze for reasons reported by other statistics in the ResourceStatistics object.
sourcepub fn total_items_skipped_invalid_encryption(self, input: i64) -> Self
pub fn total_items_skipped_invalid_encryption(self, input: i64) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn set_total_items_skipped_invalid_encryption(
self,
input: Option<i64>
) -> Self
pub fn set_total_items_skipped_invalid_encryption( self, input: Option<i64> ) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn get_total_items_skipped_invalid_encryption(&self) -> &Option<i64>
pub fn get_total_items_skipped_invalid_encryption(&self) -> &Option<i64>
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with a key that Macie can't access. The objects use server-side encryption with customer-provided keys (SSE-C).
sourcepub fn total_items_skipped_invalid_kms(self, input: i64) -> Self
pub fn total_items_skipped_invalid_kms(self, input: i64) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.
sourcepub fn set_total_items_skipped_invalid_kms(self, input: Option<i64>) -> Self
pub fn set_total_items_skipped_invalid_kms(self, input: Option<i64>) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.
sourcepub fn get_total_items_skipped_invalid_kms(&self) -> &Option<i64>
pub fn get_total_items_skipped_invalid_kms(&self) -> &Option<i64>
The total number of objects that Amazon Macie wasn't able to analyze in the bucket because the objects are encrypted with KMS keys that were disabled, are scheduled for deletion, or were deleted.
sourcepub fn total_items_skipped_permission_denied(self, input: i64) -> Self
pub fn total_items_skipped_permission_denied(self, input: i64) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.
sourcepub fn set_total_items_skipped_permission_denied(
self,
input: Option<i64>
) -> Self
pub fn set_total_items_skipped_permission_denied( self, input: Option<i64> ) -> Self
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.
sourcepub fn get_total_items_skipped_permission_denied(&self) -> &Option<i64>
pub fn get_total_items_skipped_permission_denied(&self) -> &Option<i64>
The total number of objects that Amazon Macie wasn't able to analyze in the bucket due to the permissions settings for the objects or the permissions settings for the keys that were used to encrypt the objects.
sourcepub fn build(self) -> ResourceStatistics
pub fn build(self) -> ResourceStatistics
Consumes the builder and constructs a ResourceStatistics
.
Trait Implementations§
source§impl Clone for ResourceStatisticsBuilder
impl Clone for ResourceStatisticsBuilder
source§fn clone(&self) -> ResourceStatisticsBuilder
fn clone(&self) -> ResourceStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceStatisticsBuilder
impl Debug for ResourceStatisticsBuilder
source§impl Default for ResourceStatisticsBuilder
impl Default for ResourceStatisticsBuilder
source§fn default() -> ResourceStatisticsBuilder
fn default() -> ResourceStatisticsBuilder
source§impl PartialEq for ResourceStatisticsBuilder
impl PartialEq for ResourceStatisticsBuilder
source§fn eq(&self, other: &ResourceStatisticsBuilder) -> bool
fn eq(&self, other: &ResourceStatisticsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.