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<DetectionBuilder> for DetectionBuilder
impl PartialEq<DetectionBuilder> 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 ==
.