Struct aws_sdk_macie2::types::builders::SensitiveDataItemBuilder
source · #[non_exhaustive]pub struct SensitiveDataItemBuilder { /* private fields */ }
Expand description
A builder for SensitiveDataItem
.
Implementations§
source§impl SensitiveDataItemBuilder
impl SensitiveDataItemBuilder
sourcepub fn category(self, input: SensitiveDataItemCategory) -> Self
pub fn category(self, input: SensitiveDataItemCategory) -> Self
The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn set_category(self, input: Option<SensitiveDataItemCategory>) -> Self
pub fn set_category(self, input: Option<SensitiveDataItemCategory>) -> Self
The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn detections(self, input: DefaultDetection) -> Self
pub fn detections(self, input: DefaultDetection) -> Self
Appends an item to detections
.
To override the contents of this collection use set_detections
.
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
sourcepub fn set_detections(self, input: Option<Vec<DefaultDetection>>) -> Self
pub fn set_detections(self, input: Option<Vec<DefaultDetection>>) -> Self
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of occurrences of the sensitive data that was detected.
sourcepub fn set_total_count(self, input: Option<i64>) -> Self
pub fn set_total_count(self, input: Option<i64>) -> Self
The total number of occurrences of the sensitive data that was detected.
sourcepub fn build(self) -> SensitiveDataItem
pub fn build(self) -> SensitiveDataItem
Consumes the builder and constructs a SensitiveDataItem
.
Trait Implementations§
source§impl Clone for SensitiveDataItemBuilder
impl Clone for SensitiveDataItemBuilder
source§fn clone(&self) -> SensitiveDataItemBuilder
fn clone(&self) -> SensitiveDataItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SensitiveDataItemBuilder
impl Debug for SensitiveDataItemBuilder
source§impl Default for SensitiveDataItemBuilder
impl Default for SensitiveDataItemBuilder
source§fn default() -> SensitiveDataItemBuilder
fn default() -> SensitiveDataItemBuilder
source§impl PartialEq<SensitiveDataItemBuilder> for SensitiveDataItemBuilder
impl PartialEq<SensitiveDataItemBuilder> for SensitiveDataItemBuilder
source§fn eq(&self, other: &SensitiveDataItemBuilder) -> bool
fn eq(&self, other: &SensitiveDataItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.