Struct aws_sdk_macie2::operation::list_resource_profile_detections::builders::ListResourceProfileDetectionsOutputBuilder
source · #[non_exhaustive]pub struct ListResourceProfileDetectionsOutputBuilder { /* private fields */ }Expand description
A builder for ListResourceProfileDetectionsOutput.
Implementations§
source§impl ListResourceProfileDetectionsOutputBuilder
impl ListResourceProfileDetectionsOutputBuilder
sourcepub fn detections(self, input: Detection) -> Self
pub fn detections(self, input: Detection) -> Self
Appends an item to detections.
To override the contents of this collection use set_detections.
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
sourcepub fn set_detections(self, input: Option<Vec<Detection>>) -> Self
pub fn set_detections(self, input: Option<Vec<Detection>>) -> Self
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
sourcepub fn get_detections(&self) -> &Option<Vec<Detection>>
pub fn get_detections(&self) -> &Option<Vec<Detection>>
An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
sourcepub fn build(self) -> ListResourceProfileDetectionsOutput
pub fn build(self) -> ListResourceProfileDetectionsOutput
Consumes the builder and constructs a ListResourceProfileDetectionsOutput.
Trait Implementations§
source§impl Clone for ListResourceProfileDetectionsOutputBuilder
impl Clone for ListResourceProfileDetectionsOutputBuilder
source§fn clone(&self) -> ListResourceProfileDetectionsOutputBuilder
fn clone(&self) -> ListResourceProfileDetectionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListResourceProfileDetectionsOutputBuilder
impl Default for ListResourceProfileDetectionsOutputBuilder
source§fn default() -> ListResourceProfileDetectionsOutputBuilder
fn default() -> ListResourceProfileDetectionsOutputBuilder
source§impl PartialEq for ListResourceProfileDetectionsOutputBuilder
impl PartialEq for ListResourceProfileDetectionsOutputBuilder
source§fn eq(&self, other: &ListResourceProfileDetectionsOutputBuilder) -> bool
fn eq(&self, other: &ListResourceProfileDetectionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListResourceProfileDetectionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListResourceProfileDetectionsOutputBuilder
impl RefUnwindSafe for ListResourceProfileDetectionsOutputBuilder
impl Send for ListResourceProfileDetectionsOutputBuilder
impl Sync for ListResourceProfileDetectionsOutputBuilder
impl Unpin for ListResourceProfileDetectionsOutputBuilder
impl UnwindSafe for ListResourceProfileDetectionsOutputBuilder
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