Struct aws_sdk_macie2::operation::get_sensitive_data_occurrences::builders::GetSensitiveDataOccurrencesOutputBuilder
source · #[non_exhaustive]pub struct GetSensitiveDataOccurrencesOutputBuilder { /* private fields */ }
Expand description
A builder for GetSensitiveDataOccurrencesOutput
.
Implementations§
source§impl GetSensitiveDataOccurrencesOutputBuilder
impl GetSensitiveDataOccurrencesOutputBuilder
sourcepub fn error(self, input: impl Into<String>) -> Self
pub fn error(self, input: impl Into<String>) -> Self
If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.
sourcepub fn set_error(self, input: Option<String>) -> Self
pub fn set_error(self, input: Option<String>) -> Self
If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.
sourcepub fn get_error(&self) -> &Option<String>
pub fn get_error(&self) -> &Option<String>
If an error occurred when Amazon Macie attempted to retrieve occurrences of sensitive data reported by the finding, a description of the error that occurred. This value is null if the status (status) of the request is PROCESSING or SUCCESS.
sourcepub fn sensitive_data_occurrences(
self,
k: impl Into<String>,
v: Vec<DetectedDataDetails>
) -> Self
pub fn sensitive_data_occurrences( self, k: impl Into<String>, v: Vec<DetectedDataDetails> ) -> Self
Adds a key-value pair to sensitive_data_occurrences
.
To override the contents of this collection use set_sensitive_data_occurrences
.
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
sourcepub fn set_sensitive_data_occurrences(
self,
input: Option<HashMap<String, Vec<DetectedDataDetails>>>
) -> Self
pub fn set_sensitive_data_occurrences( self, input: Option<HashMap<String, Vec<DetectedDataDetails>>> ) -> Self
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
sourcepub fn get_sensitive_data_occurrences(
&self
) -> &Option<HashMap<String, Vec<DetectedDataDetails>>>
pub fn get_sensitive_data_occurrences( &self ) -> &Option<HashMap<String, Vec<DetectedDataDetails>>>
A map that specifies 1-100 types of sensitive data reported by the finding and, for each type, 1-10 occurrences of sensitive data.
sourcepub fn status(self, input: RevealRequestStatus) -> Self
pub fn status(self, input: RevealRequestStatus) -> Self
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
sourcepub fn set_status(self, input: Option<RevealRequestStatus>) -> Self
pub fn set_status(self, input: Option<RevealRequestStatus>) -> Self
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
sourcepub fn get_status(&self) -> &Option<RevealRequestStatus>
pub fn get_status(&self) -> &Option<RevealRequestStatus>
The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:
-
ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.
-
PROCESSING - Macie is processing the request.
-
SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.
sourcepub fn build(self) -> GetSensitiveDataOccurrencesOutput
pub fn build(self) -> GetSensitiveDataOccurrencesOutput
Consumes the builder and constructs a GetSensitiveDataOccurrencesOutput
.
Trait Implementations§
source§impl Clone for GetSensitiveDataOccurrencesOutputBuilder
impl Clone for GetSensitiveDataOccurrencesOutputBuilder
source§fn clone(&self) -> GetSensitiveDataOccurrencesOutputBuilder
fn clone(&self) -> GetSensitiveDataOccurrencesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSensitiveDataOccurrencesOutputBuilder
impl Default for GetSensitiveDataOccurrencesOutputBuilder
source§fn default() -> GetSensitiveDataOccurrencesOutputBuilder
fn default() -> GetSensitiveDataOccurrencesOutputBuilder
source§impl PartialEq for GetSensitiveDataOccurrencesOutputBuilder
impl PartialEq for GetSensitiveDataOccurrencesOutputBuilder
source§fn eq(&self, other: &GetSensitiveDataOccurrencesOutputBuilder) -> bool
fn eq(&self, other: &GetSensitiveDataOccurrencesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSensitiveDataOccurrencesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSensitiveDataOccurrencesOutputBuilder
impl RefUnwindSafe for GetSensitiveDataOccurrencesOutputBuilder
impl Send for GetSensitiveDataOccurrencesOutputBuilder
impl Sync for GetSensitiveDataOccurrencesOutputBuilder
impl Unpin for GetSensitiveDataOccurrencesOutputBuilder
impl UnwindSafe for GetSensitiveDataOccurrencesOutputBuilder
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