#[non_exhaustive]pub struct SuppressDataIdentifierBuilder { /* private fields */ }Expand description
A builder for SuppressDataIdentifier.
Implementations§
source§impl SuppressDataIdentifierBuilder
impl SuppressDataIdentifierBuilder
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 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 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 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.
sourcepub fn build(self) -> SuppressDataIdentifier
pub fn build(self) -> SuppressDataIdentifier
Consumes the builder and constructs a SuppressDataIdentifier.
Trait Implementations§
source§impl Clone for SuppressDataIdentifierBuilder
impl Clone for SuppressDataIdentifierBuilder
source§fn clone(&self) -> SuppressDataIdentifierBuilder
fn clone(&self) -> SuppressDataIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SuppressDataIdentifierBuilder
impl Default for SuppressDataIdentifierBuilder
source§fn default() -> SuppressDataIdentifierBuilder
fn default() -> SuppressDataIdentifierBuilder
source§impl PartialEq for SuppressDataIdentifierBuilder
impl PartialEq for SuppressDataIdentifierBuilder
source§fn eq(&self, other: &SuppressDataIdentifierBuilder) -> bool
fn eq(&self, other: &SuppressDataIdentifierBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SuppressDataIdentifierBuilder
Auto Trait Implementations§
impl Freeze for SuppressDataIdentifierBuilder
impl RefUnwindSafe for SuppressDataIdentifierBuilder
impl Send for SuppressDataIdentifierBuilder
impl Sync for SuppressDataIdentifierBuilder
impl Unpin for SuppressDataIdentifierBuilder
impl UnwindSafe for SuppressDataIdentifierBuilder
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