@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)
Marshalls this structured data using the given
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; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
category
- The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial
information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information
such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom
data identifier.SensitiveDataItemCategory
public String getCategory()
The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
SensitiveDataItemCategory
public SensitiveDataItem withCategory(String category)
The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
category
- The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial
information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information
such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom
data identifier.SensitiveDataItemCategory
public SensitiveDataItem withCategory(SensitiveDataItemCategory category)
The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
category
- The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial
information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information
such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom
data identifier.SensitiveDataItemCategory
public 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 Object
Object.toString()
public SensitiveDataItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.