@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SensitiveDataItem extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the category, type, and number of occurrences of sensitive data that produced a finding.
| Constructor and Description |
|---|
SensitiveDataItem() |
| Modifier and Type | Method and Description |
|---|---|
SensitiveDataItem |
clone() |
boolean |
equals(Object obj) |
String |
getCategory()
The category of sensitive data that was detected.
|
List<DefaultDetection> |
getDetections()
An array of objects, one for each type of sensitive data that was detected.
|
Long |
getTotalCount()
The total number of occurrences of the sensitive data that was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCategory(String category)
The category of sensitive data that was detected.
|
void |
setDetections(Collection<DefaultDetection> detections)
An array of objects, one for each type of sensitive data that was detected.
|
void |
setTotalCount(Long totalCount)
The total number of occurrences of the sensitive data that was detected.
|
String |
toString()
Returns a string representation of this object.
|
SensitiveDataItem |
withCategory(SensitiveDataItemCategory category)
The category of sensitive data that was detected.
|
SensitiveDataItem |
withCategory(String category)
The category of sensitive data that was detected.
|
SensitiveDataItem |
withDetections(Collection<DefaultDetection> detections)
An array of objects, one for each type of sensitive data that was detected.
|
SensitiveDataItem |
withDetections(DefaultDetection... detections)
An array of objects, one for each type of sensitive data that was detected.
|
SensitiveDataItem |
withTotalCount(Long totalCount)
The total number of occurrences of the sensitive data that was detected.
|
public void setCategory(String category)
The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information such as names and addresses.
category - The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial
information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information
such as names and addresses.SensitiveDataItemCategorypublic String getCategory()
The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information such as names and addresses.
SensitiveDataItemCategorypublic SensitiveDataItem withCategory(String category)
The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information such as names and addresses.
category - The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial
information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information
such as names and addresses.SensitiveDataItemCategorypublic SensitiveDataItem withCategory(SensitiveDataItemCategory category)
The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information such as names and addresses.
category - The category of sensitive data that was detected. For example, FINANCIAL_INFORMATION, for financial
information such as credit card numbers, or PERSONAL_INFORMATION, for personally identifiable information
such as names and addresses.SensitiveDataItemCategorypublic List<DefaultDetection> getDetections()
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
public void setDetections(Collection<DefaultDetection> detections)
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
detections - An array of objects, one for each type of sensitive data that was detected. Each object reports the number
of occurrences of a specific type of sensitive data that was detected.public SensitiveDataItem withDetections(DefaultDetection... detections)
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
NOTE: This method appends the values to the existing list (if any). Use
setDetections(java.util.Collection) or withDetections(java.util.Collection) if you want to
override the existing values.
detections - An array of objects, one for each type of sensitive data that was detected. Each object reports the number
of occurrences of a specific type of sensitive data that was detected.public SensitiveDataItem withDetections(Collection<DefaultDetection> detections)
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
detections - An array of objects, one for each type of sensitive data that was detected. Each object reports the number
of occurrences of a specific type of sensitive data that was detected.public void setTotalCount(Long totalCount)
The total number of occurrences of the sensitive data that was detected.
totalCount - The total number of occurrences of the sensitive data that was detected.public Long getTotalCount()
The total number of occurrences of the sensitive data that was detected.
public SensitiveDataItem withTotalCount(Long totalCount)
The total number of occurrences of the sensitive data that was detected.
totalCount - The total number of occurrences of the sensitive data that was detected.public String toString()
toString in class ObjectObject.toString()public SensitiveDataItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.