#[non_exhaustive]pub struct SensitiveDataResultBuilder { /* private fields */ }
Expand description
A builder for SensitiveDataResult
.
Implementations§
source§impl SensitiveDataResultBuilder
impl SensitiveDataResultBuilder
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 get_category(&self) -> &Option<String>
pub fn get_category(&self) -> &Option<String>
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 get_detections(&self) -> &Option<Vec<SensitiveDataDetections>>
pub fn get_detections(&self) -> &Option<Vec<SensitiveDataDetections>>
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 get_total_count(&self) -> &Option<i64>
pub fn get_total_count(&self) -> &Option<i64>
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
.
Trait Implementations§
source§impl Clone for SensitiveDataResultBuilder
impl Clone for SensitiveDataResultBuilder
source§fn clone(&self) -> SensitiveDataResultBuilder
fn clone(&self) -> SensitiveDataResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SensitiveDataResultBuilder
impl Debug for SensitiveDataResultBuilder
source§impl Default for SensitiveDataResultBuilder
impl Default for SensitiveDataResultBuilder
source§fn default() -> SensitiveDataResultBuilder
fn default() -> SensitiveDataResultBuilder
source§impl PartialEq for SensitiveDataResultBuilder
impl PartialEq for SensitiveDataResultBuilder
source§fn eq(&self, other: &SensitiveDataResultBuilder) -> bool
fn eq(&self, other: &SensitiveDataResultBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.