Struct aws_sdk_securityhub::model::sensitive_data_result::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SensitiveDataResult
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn category(self, input: impl Into<String>) -> Self
pub fn category(self, input: impl Into<String>) -> Self
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
sourcepub fn set_category(self, input: Option<String>) -> Self
pub fn set_category(self, input: Option<String>) -> Self
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
sourcepub fn detections(self, input: SensitiveDataDetections) -> Self
pub fn detections(self, input: SensitiveDataDetections) -> Self
Appends an item to detections
.
To override the contents of this collection use set_detections
.
The list of detected instances of sensitive data.
sourcepub fn set_detections(self, input: Option<Vec<SensitiveDataDetections>>) -> Self
pub fn set_detections(self, input: Option<Vec<SensitiveDataDetections>>) -> Self
The list of detected instances of sensitive data.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of occurrences of sensitive data.
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 sensitive data.
sourcepub fn build(self) -> SensitiveDataResult
pub fn build(self) -> SensitiveDataResult
Consumes the builder and constructs a SensitiveDataResult
.