#[non_exhaustive]pub struct ManagedDataIdentifierSummaryBuilder { /* private fields */ }
Expand description
A builder for ManagedDataIdentifierSummary
.
Implementations§
source§impl ManagedDataIdentifierSummaryBuilder
impl ManagedDataIdentifierSummaryBuilder
sourcepub fn category(self, input: SensitiveDataItemCategory) -> Self
pub fn category(self, input: SensitiveDataItemCategory) -> Self
The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn set_category(self, input: Option<SensitiveDataItemCategory>) -> Self
pub fn set_category(self, input: Option<SensitiveDataItemCategory>) -> Self
The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn get_category(&self) -> &Option<SensitiveDataItemCategory>
pub fn get_category(&self) -> &Option<SensitiveDataItemCategory>
The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.
sourcepub fn build(self) -> ManagedDataIdentifierSummary
pub fn build(self) -> ManagedDataIdentifierSummary
Consumes the builder and constructs a ManagedDataIdentifierSummary
.
Trait Implementations§
source§impl Clone for ManagedDataIdentifierSummaryBuilder
impl Clone for ManagedDataIdentifierSummaryBuilder
source§fn clone(&self) -> ManagedDataIdentifierSummaryBuilder
fn clone(&self) -> ManagedDataIdentifierSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ManagedDataIdentifierSummaryBuilder
impl Default for ManagedDataIdentifierSummaryBuilder
source§fn default() -> ManagedDataIdentifierSummaryBuilder
fn default() -> ManagedDataIdentifierSummaryBuilder
source§impl PartialEq<ManagedDataIdentifierSummaryBuilder> for ManagedDataIdentifierSummaryBuilder
impl PartialEq<ManagedDataIdentifierSummaryBuilder> for ManagedDataIdentifierSummaryBuilder
source§fn eq(&self, other: &ManagedDataIdentifierSummaryBuilder) -> bool
fn eq(&self, other: &ManagedDataIdentifierSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.