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 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 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<ListResourceProfileDetectionsOutputBuilder> for ListResourceProfileDetectionsOutputBuilder
impl PartialEq<ListResourceProfileDetectionsOutputBuilder> 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 ==
.