#[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 for ManagedDataIdentifierSummaryBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for ManagedDataIdentifierSummaryBuilder
Auto Trait Implementations§
impl Freeze for ManagedDataIdentifierSummaryBuilder
impl RefUnwindSafe for ManagedDataIdentifierSummaryBuilder
impl Send for ManagedDataIdentifierSummaryBuilder
impl Sync for ManagedDataIdentifierSummaryBuilder
impl Unpin for ManagedDataIdentifierSummaryBuilder
impl UnwindSafe for ManagedDataIdentifierSummaryBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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