Struct aws_sdk_macie2::types::builders::DetectedDataDetailsBuilder
source · #[non_exhaustive]pub struct DetectedDataDetailsBuilder { /* private fields */ }
Expand description
A builder for DetectedDataDetails
.
Implementations§
source§impl DetectedDataDetailsBuilder
impl DetectedDataDetailsBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
An occurrence of the specified type of sensitive data. Each occurrence contains 1-128 characters.
This field is required.sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
An occurrence of the specified type of sensitive data. Each occurrence contains 1-128 characters.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
An occurrence of the specified type of sensitive data. Each occurrence contains 1-128 characters.
sourcepub fn build(self) -> DetectedDataDetails
pub fn build(self) -> DetectedDataDetails
Consumes the builder and constructs a DetectedDataDetails
.
Trait Implementations§
source§impl Clone for DetectedDataDetailsBuilder
impl Clone for DetectedDataDetailsBuilder
source§fn clone(&self) -> DetectedDataDetailsBuilder
fn clone(&self) -> DetectedDataDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DetectedDataDetailsBuilder
impl Debug for DetectedDataDetailsBuilder
source§impl Default for DetectedDataDetailsBuilder
impl Default for DetectedDataDetailsBuilder
source§fn default() -> DetectedDataDetailsBuilder
fn default() -> DetectedDataDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DetectedDataDetailsBuilder
impl PartialEq for DetectedDataDetailsBuilder
source§fn eq(&self, other: &DetectedDataDetailsBuilder) -> bool
fn eq(&self, other: &DetectedDataDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DetectedDataDetailsBuilder
Auto Trait Implementations§
impl Freeze for DetectedDataDetailsBuilder
impl RefUnwindSafe for DetectedDataDetailsBuilder
impl Send for DetectedDataDetailsBuilder
impl Sync for DetectedDataDetailsBuilder
impl Unpin for DetectedDataDetailsBuilder
impl UnwindSafe for DetectedDataDetailsBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.