@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Occurrences extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding.
Constructor and Description |
---|
Occurrences() |
Modifier and Type | Method and Description |
---|---|
Occurrences |
clone() |
boolean |
equals(Object obj) |
List<Cell> |
getCells()
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV
file.
|
List<Range> |
getLineRanges()
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.
|
List<Range> |
getOffsetRanges()
Reserved for future use.
|
List<Page> |
getPages()
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
|
List<Record> |
getRecords()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCells(Collection<Cell> cells)
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV
file.
|
void |
setLineRanges(Collection<Range> lineRanges)
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.
|
void |
setOffsetRanges(Collection<Range> offsetRanges)
Reserved for future use.
|
void |
setPages(Collection<Page> pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
|
void |
setRecords(Collection<Record> 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.
|
String |
toString()
Returns a string representation of this object.
|
Occurrences |
withCells(Cell... cells)
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV
file.
|
Occurrences |
withCells(Collection<Cell> cells)
An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV
file.
|
Occurrences |
withLineRanges(Collection<Range> lineRanges)
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.
|
Occurrences |
withLineRanges(Range... lineRanges)
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.
|
Occurrences |
withOffsetRanges(Collection<Range> offsetRanges)
Reserved for future use.
|
Occurrences |
withOffsetRanges(Range... offsetRanges)
Reserved for future use.
|
Occurrences |
withPages(Collection<Page> pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
|
Occurrences |
withPages(Page... pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
|
Occurrences |
withRecords(Collection<Record> 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.
|
Occurrences |
withRecords(Record... 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.
|
public List<Cell> getCells()
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.
Each Cell object specifies a cell or field that contains the sensitive data.
public void setCells(Collection<Cell> 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.
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.
public Occurrences withCells(Cell... 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.
NOTE: This method appends the values to the existing list (if any). Use
setCells(java.util.Collection)
or withCells(java.util.Collection)
if you want to override the
existing values.
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.
public Occurrences withCells(Collection<Cell> 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.
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.
public List<Range> getLineRanges()
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.
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.
public void setLineRanges(Collection<Range> lineRanges)
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.
lineRanges
- 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.
public Occurrences withLineRanges(Range... lineRanges)
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.
NOTE: This method appends the values to the existing list (if any). Use
setLineRanges(java.util.Collection)
or withLineRanges(java.util.Collection)
if you want to
override the existing values.
lineRanges
- 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.
public Occurrences withLineRanges(Collection<Range> lineRanges)
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.
lineRanges
- 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.
public List<Range> getOffsetRanges()
Reserved for future use.
Reserved for future use.
public void setOffsetRanges(Collection<Range> offsetRanges)
Reserved for future use.
offsetRanges
- Reserved for future use.
public Occurrences withOffsetRanges(Range... offsetRanges)
Reserved for future use.
NOTE: This method appends the values to the existing list (if any). Use
setOffsetRanges(java.util.Collection)
or withOffsetRanges(java.util.Collection)
if you want to
override the existing values.
offsetRanges
- Reserved for future use.
public Occurrences withOffsetRanges(Collection<Range> offsetRanges)
Reserved for future use.
offsetRanges
- Reserved for future use.
public List<Page> getPages()
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.
Each Page object specifies a page that contains the sensitive data.
public void setPages(Collection<Page> 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.
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.
public Occurrences withPages(Page... 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.
NOTE: This method appends the values to the existing list (if any). Use
setPages(java.util.Collection)
or withPages(java.util.Collection)
if you want to override the
existing values.
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.
public Occurrences withPages(Collection<Page> 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.
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.
public List<Record> getRecords()
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.
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.
public void setRecords(Collection<Record> 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.
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.
public Occurrences withRecords(Record... 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.
NOTE: This method appends the values to the existing list (if any). Use
setRecords(java.util.Collection)
or withRecords(java.util.Collection)
if you want to override
the existing values.
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.
public Occurrences withRecords(Collection<Record> 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.
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.
public String toString()
toString
in class Object
Object.toString()
public Occurrences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.