Struct aws_sdk_macie2::types::builders::DetectionBuilder
source · #[non_exhaustive]pub struct DetectionBuilder { /* private fields */ }
Expand description
A builder for Detection
.
Implementations§
source§impl DetectionBuilder
impl DetectionBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.
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.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).
sourcepub fn suppressed(self, input: bool) -> Self
pub fn suppressed(self, input: bool) -> Self
Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score.
sourcepub fn set_suppressed(self, input: Option<bool>) -> Self
pub fn set_suppressed(self, input: Option<bool>) -> Self
Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score.
sourcepub fn get_suppressed(&self) -> &Option<bool>
pub fn get_suppressed(&self) -> &Option<bool>
Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score.
sourcepub fn type(self, input: DataIdentifierType) -> Self
pub fn type(self, input: DataIdentifierType) -> Self
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
sourcepub fn set_type(self, input: Option<DataIdentifierType>) -> Self
pub fn set_type(self, input: Option<DataIdentifierType>) -> Self
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
sourcepub fn get_type(&self) -> &Option<DataIdentifierType>
pub fn get_type(&self) -> &Option<DataIdentifierType>
The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
Trait Implementations§
source§impl Clone for DetectionBuilder
impl Clone for DetectionBuilder
source§fn clone(&self) -> DetectionBuilder
fn clone(&self) -> DetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DetectionBuilder
impl Debug for DetectionBuilder
source§impl Default for DetectionBuilder
impl Default for DetectionBuilder
source§fn default() -> DetectionBuilder
fn default() -> DetectionBuilder
source§impl PartialEq for DetectionBuilder
impl PartialEq for DetectionBuilder
source§fn eq(&self, other: &DetectionBuilder) -> bool
fn eq(&self, other: &DetectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectionBuilder
Auto Trait Implementations§
impl Freeze for DetectionBuilder
impl RefUnwindSafe for DetectionBuilder
impl Send for DetectionBuilder
impl Sync for DetectionBuilder
impl Unpin for DetectionBuilder
impl UnwindSafe for DetectionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more