Struct aws_sdk_macie2::model::suppress_data_identifier::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SuppressDataIdentifier
.
Implementations§
source§impl Builder
impl Builder
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 type of sensitive data to exclude or include in the score.
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 type of sensitive data to exclude or include in the 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 build(self) -> SuppressDataIdentifier
pub fn build(self) -> SuppressDataIdentifier
Consumes the builder and constructs a SuppressDataIdentifier
.