@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 managed data identifiers 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 a Microsoft Word document or non-binary text
file, such as an HTML, JSON, 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 or Apache
Parquet 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 a Microsoft Word document or non-binary text
file, such as an HTML, JSON, 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 or Apache
Parquet 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 a Microsoft Word document or non-binary text
file, such as an HTML, JSON, TXT, or XML file.
|
Occurrences |
withLineRanges(Range... lineRanges)
An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text
file, such as an HTML, JSON, 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 or Apache
Parquet file.
|
Occurrences |
withRecords(Record... records)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache
Parquet 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. Each object specifies the cell or field that contains the data. This value is null for all other types of files.
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. Each object specifies the cell or field that contains the data. This value is null for all other types of files.
cells
- An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or
TSV file. Each object specifies the cell or field that contains the data. This value is null for all other
types of files.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. Each object specifies the cell or field that contains the data. This value is null for all other types of files.
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. Each object specifies the cell or field that contains the data. This value is null for all other
types of files.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. Each object specifies the cell or field that contains the data. This value is null for all other types of files.
cells
- An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or
TSV file. Each object specifies the cell or field that contains the data. This value is null for all other
types of files.public List<Range> getLineRanges()
An array of objects, one for each occurrence of sensitive data in a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 locations of 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 a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 a Microsoft Word document or non-binary
text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data,
and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 a Microsoft Word document or non-binary
text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data,
and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 a Microsoft Word document or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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 a Microsoft Word document or non-binary
text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data,
and the position of the data on that line.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of 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. Each object specifies the page that contains the data. This value is null for all other types of files.
public void setPages(Collection<Page> pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data. This value is null for all other types of files.
pages
- An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
Each object specifies the page that contains the data. This value is null for all other types of files.public Occurrences withPages(Page... pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data. This value is null for all other types of files.
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.
Each object specifies the page that contains the data. This value is null for all other types of files.public Occurrences withPages(Collection<Page> pages)
An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data. This value is null for all other types of files.
pages
- An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file.
Each object specifies the page that contains the data. This value is null for all other types of files.public List<Record> getRecords()
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.
public void setRecords(Collection<Record> records)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.
records
- An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or
Apache Parquet file. Each object specifies the record index and the path to the field in the record that
contains the data. This value is null for all other types of files.public Occurrences withRecords(Record... records)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.
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 or
Apache Parquet file. Each object specifies the record index and the path to the field in the record that
contains the data. This value is null for all other types of files.public Occurrences withRecords(Collection<Record> records)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.
records
- An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or
Apache Parquet file. Each object specifies the record index and the path to the field in the record that
contains the data. This value is null for all other types of files.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.