Struct aws_sdk_macie2::model::resource_statistics::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResourceStatistics
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 total_items_skipped(self, input: i64) -> Self
pub fn total_items_skipped(self, input: i64) -> Self
The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed 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 hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed 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 hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
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 hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
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 hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or 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 hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or 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 hasn't analyzed in the bucket because Macie isn't allowed to access 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 hasn't analyzed in the bucket because Macie isn't allowed to access the objects.
sourcepub fn build(self) -> ResourceStatistics
pub fn build(self) -> ResourceStatistics
Consumes the builder and constructs a ResourceStatistics
.