@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SensitiveDataResult extends Object implements Serializable, Cloneable, StructuredPojo
Contains a detected instance of sensitive data that are based on built-in identifiers.
Constructor and Description |
---|
SensitiveDataResult() |
Modifier and Type | Method and Description |
---|---|
SensitiveDataResult |
clone() |
boolean |
equals(Object obj) |
String |
getCategory()
The category of sensitive data that was detected.
|
List<SensitiveDataDetections> |
getDetections()
The list of detected instances of sensitive data.
|
Long |
getTotalCount()
The total number of occurrences of sensitive data.
|
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<SensitiveDataDetections> detections)
The list of detected instances of sensitive data.
|
void |
setTotalCount(Long totalCount)
The total number of occurrences of sensitive data.
|
String |
toString()
Returns a string representation of this object.
|
SensitiveDataResult |
withCategory(String category)
The category of sensitive data that was detected.
|
SensitiveDataResult |
withDetections(Collection<SensitiveDataDetections> detections)
The list of detected instances of sensitive data.
|
SensitiveDataResult |
withDetections(SensitiveDataDetections... detections)
The list of detected instances of sensitive data.
|
SensitiveDataResult |
withTotalCount(Long totalCount)
The total number of occurrences of sensitive data.
|
public void setCategory(String category)
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
category
- The category of sensitive data that was detected. For example, the category can indicate that the
sensitive data involved credentials, financial information, or personal information.public String getCategory()
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
public SensitiveDataResult withCategory(String category)
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
category
- The category of sensitive data that was detected. For example, the category can indicate that the
sensitive data involved credentials, financial information, or personal information.public List<SensitiveDataDetections> getDetections()
The list of detected instances of sensitive data.
public void setDetections(Collection<SensitiveDataDetections> detections)
The list of detected instances of sensitive data.
detections
- The list of detected instances of sensitive data.public SensitiveDataResult withDetections(SensitiveDataDetections... detections)
The list of detected instances of sensitive data.
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
- The list of detected instances of sensitive data.public SensitiveDataResult withDetections(Collection<SensitiveDataDetections> detections)
The list of detected instances of sensitive data.
detections
- The list of detected instances of sensitive data.public void setTotalCount(Long totalCount)
The total number of occurrences of sensitive data.
totalCount
- The total number of occurrences of sensitive data.public Long getTotalCount()
The total number of occurrences of sensitive data.
public SensitiveDataResult withTotalCount(Long totalCount)
The total number of occurrences of sensitive data.
totalCount
- The total number of occurrences of sensitive data.public String toString()
toString
in class Object
Object.toString()
public SensitiveDataResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.