Struct aws_sdk_macie2::model::custom_data_identifiers::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CustomDataIdentifiers
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn detections(self, input: CustomDetection) -> Self
pub fn detections(self, input: CustomDetection) -> Self
Appends an item to detections
.
To override the contents of this collection use set_detections
.
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
sourcepub fn set_detections(self, input: Option<Vec<CustomDetection>>) -> Self
pub fn set_detections(self, input: Option<Vec<CustomDetection>>) -> Self
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
sourcepub fn total_count(self, input: i64) -> Self
pub fn total_count(self, input: i64) -> Self
The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
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 data that was detected by the custom data identifiers and produced the finding.
sourcepub fn build(self) -> CustomDataIdentifiers
pub fn build(self) -> CustomDataIdentifiers
Consumes the builder and constructs a CustomDataIdentifiers
.