Struct aws_sdk_macie2::types::builders::OccurrencesBuilder
source · #[non_exhaustive]pub struct OccurrencesBuilder { /* private fields */ }
Expand description
A builder for Occurrences
.
Implementations§
source§impl OccurrencesBuilder
impl OccurrencesBuilder
sourcepub fn cells(self, input: Cell) -> Self
pub fn cells(self, input: Cell) -> Self
Appends an item to cells
.
To override the contents of this collection use set_cells
.
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.
Each Cell object specifies a cell or field that contains the sensitive data.
sourcepub fn set_cells(self, input: Option<Vec<Cell>>) -> Self
pub fn set_cells(self, input: Option<Vec<Cell>>) -> Self
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.
Each Cell object specifies a cell or field that contains the sensitive data.
sourcepub fn line_ranges(self, input: Range) -> Self
pub fn line_ranges(self, input: Range) -> Self
Appends an item to line_ranges
.
To override the contents of this collection use set_line_ranges
.
An array of objects, one for each occurrence of sensitive data in an email message or a non-binary text file such as an HTML, TXT, or XML file. Each Range object specifies a line or inclusive range of lines that contains the sensitive data, and the position of the data on the specified line or lines.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the location of sensitive data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.
sourcepub fn set_line_ranges(self, input: Option<Vec<Range>>) -> Self
pub fn set_line_ranges(self, input: Option<Vec<Range>>) -> Self
An array of objects, one for each occurrence of sensitive data in an email message or a non-binary text file such as an HTML, TXT, or XML file. Each Range object specifies a line or inclusive range of lines that contains the sensitive data, and the position of the data on the specified line or lines.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the location of sensitive data in: unstructured sections of an otherwise structured file, such as a comment in a file; a malformed file that Amazon Macie analyzes as plain text; and, a CSV or TSV file that has any column names that contain sensitive data.
sourcepub fn offset_ranges(self, input: Range) -> Self
pub fn offset_ranges(self, input: Range) -> Self
Appends an item to offset_ranges
.
To override the contents of this collection use set_offset_ranges
.
Reserved for future use.
sourcepub fn set_offset_ranges(self, input: Option<Vec<Range>>) -> Self
pub fn set_offset_ranges(self, input: Option<Vec<Range>>) -> Self
Reserved for future use.
sourcepub fn pages(self, input: Page) -> Self
pub fn pages(self, input: Page) -> Self
Appends an item to pages
.
To override the contents of this collection use set_pages
.
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.
Each Page object specifies a page that contains the sensitive data.
sourcepub fn set_pages(self, input: Option<Vec<Page>>) -> Self
pub fn set_pages(self, input: Option<Vec<Page>>) -> Self
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.
Each Page object specifies a page that contains the sensitive data.
sourcepub fn records(self, input: Record) -> Self
pub fn records(self, input: Record) -> Self
Appends an item to records
.
To override the contents of this collection use set_records
.
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file. This value is null for all other types of files.
For an Avro object container or Parquet file, each Record object specifies a record index and the path to a field in a record that contains the sensitive data. For a JSON or JSON Lines file, each Record object specifies the path to a field or array that contains the sensitive data. For a JSON Lines file, it also specifies the index of the line that contains the data.
sourcepub fn set_records(self, input: Option<Vec<Record>>) -> Self
pub fn set_records(self, input: Option<Vec<Record>>) -> Self
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Apache Parquet file, JSON file, or JSON Lines file. This value is null for all other types of files.
For an Avro object container or Parquet file, each Record object specifies a record index and the path to a field in a record that contains the sensitive data. For a JSON or JSON Lines file, each Record object specifies the path to a field or array that contains the sensitive data. For a JSON Lines file, it also specifies the index of the line that contains the data.
sourcepub fn build(self) -> Occurrences
pub fn build(self) -> Occurrences
Consumes the builder and constructs a Occurrences
.
Trait Implementations§
source§impl Clone for OccurrencesBuilder
impl Clone for OccurrencesBuilder
source§fn clone(&self) -> OccurrencesBuilder
fn clone(&self) -> OccurrencesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OccurrencesBuilder
impl Debug for OccurrencesBuilder
source§impl Default for OccurrencesBuilder
impl Default for OccurrencesBuilder
source§fn default() -> OccurrencesBuilder
fn default() -> OccurrencesBuilder
source§impl PartialEq<OccurrencesBuilder> for OccurrencesBuilder
impl PartialEq<OccurrencesBuilder> for OccurrencesBuilder
source§fn eq(&self, other: &OccurrencesBuilder) -> bool
fn eq(&self, other: &OccurrencesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.