Struct aws_sdk_macie2::types::builders::CustomDetectionBuilder
source · #[non_exhaustive]pub struct CustomDetectionBuilder { /* private fields */ }
Expand description
A builder for CustomDetection
.
Implementations§
source§impl CustomDetectionBuilder
impl CustomDetectionBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The unique identifier for the custom data identifier.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The unique identifier for 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
.
Trait Implementations§
source§impl Clone for CustomDetectionBuilder
impl Clone for CustomDetectionBuilder
source§fn clone(&self) -> CustomDetectionBuilder
fn clone(&self) -> CustomDetectionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomDetectionBuilder
impl Debug for CustomDetectionBuilder
source§impl Default for CustomDetectionBuilder
impl Default for CustomDetectionBuilder
source§fn default() -> CustomDetectionBuilder
fn default() -> CustomDetectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CustomDetectionBuilder> for CustomDetectionBuilder
impl PartialEq<CustomDetectionBuilder> for CustomDetectionBuilder
source§fn eq(&self, other: &CustomDetectionBuilder) -> bool
fn eq(&self, other: &CustomDetectionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.