Struct aws_sdk_macie2::model::custom_detection::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for CustomDetection
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the custom data identifier.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the custom data identifier.
sourcepub fn count(self, input: i64) -> Self
pub fn count(self, input: i64) -> Self
The total number of occurrences of the sensitive data that the custom data identifier detected.
sourcepub fn set_count(self, input: Option<i64>) -> Self
pub fn set_count(self, input: Option<i64>) -> Self
The total number of occurrences of the sensitive data that the custom data identifier detected.
sourcepub fn occurrences(self, input: Occurrences) -> Self
pub fn occurrences(self, input: Occurrences) -> Self
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
sourcepub fn set_occurrences(self, input: Option<Occurrences>) -> Self
pub fn set_occurrences(self, input: Option<Occurrences>) -> Self
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
sourcepub fn build(self) -> CustomDetection
pub fn build(self) -> CustomDetection
Consumes the builder and constructs a CustomDetection
.