@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Occurrences extends Object implements Serializable, Cloneable, StructuredPojo
Provides 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 an Apache Avro object container, Microsoft Word
document, or non-binary text file, such as an HTML, JSON, TXT, or XML file.
|
List<Range> |
getOffsetRanges()
An array of objects, one for each occurrence of sensitive data in a binary text file.
|
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 Parquet file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 Apache Avro object container, Microsoft Word
document, or non-binary text file, such as an HTML, JSON, TXT, or XML file.
|
void |
setOffsetRanges(Collection<Range> offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file.
|
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 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 an Apache Avro object container, 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 an Apache Avro object container, Microsoft Word
document, or non-binary text file, such as an HTML, JSON, TXT, or XML file.
|
Occurrences |
withOffsetRanges(Collection<Range> offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file.
|
Occurrences |
withOffsetRanges(Range... offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file.
|
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 Parquet file.
|
Occurrences |
withRecords(Record... records)
An array of objects, one for each occurrence of sensitive data in an 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 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 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 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 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 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 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 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 an Apache Avro object container, 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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
public void setLineRanges(Collection<Range> lineRanges)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, 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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
lineRanges - An array of objects, one for each occurrence of sensitive data in an Apache Avro object container,
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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
public Occurrences withLineRanges(Range... lineRanges)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, 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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
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 Apache Avro object container,
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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
public Occurrences withLineRanges(Collection<Range> lineRanges)
An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, 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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
lineRanges - An array of objects, one for each occurrence of sensitive data in an Apache Avro object container,
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: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
public List<Range> getOffsetRanges()
An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
public void setOffsetRanges(Collection<Range> offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
offsetRanges - An array of objects, one for each occurrence of sensitive data in a binary text file. Each object
specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
public Occurrences withOffsetRanges(Range... offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
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 - An array of objects, one for each occurrence of sensitive data in a binary text file. Each object
specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
public Occurrences withOffsetRanges(Collection<Range> offsetRanges)
An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
offsetRanges - An array of objects, one for each occurrence of sensitive data in a binary text file. Each object
specifies the position of the data relative to the beginning of the file.
This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
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, and the position of the data on that page. 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, and the position of the data on that page. 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, and the position of the data on that page. 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, and the position of the data on that page. 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, and the position of the data on that page. 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, and the position of the data on that page. 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, and the position of the data on that page. 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 Parquet file. Each object specifies the row 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 Parquet file. Each object specifies the row 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 Parquet file. Each object
specifies the row 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 Parquet file. Each object specifies the row 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 Parquet file. Each object
specifies the row 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 Parquet file. Each object specifies the row 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 Parquet file. Each object
specifies the row that contains the data. This value is null for all other types of files.public String toString()
toString in class ObjectObject.toString()public Occurrences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.