@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultDetection extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about sensitive data that was detected by managed data identifiers and produced a sensitive data finding.
| Constructor and Description |
|---|
DefaultDetection() |
| Modifier and Type | Method and Description |
|---|---|
DefaultDetection |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The total number of occurrences of the type of data that was detected.
|
String |
getType()
The type of data that was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCount(Long count)
The total number of occurrences of the type of data that was detected.
|
void |
setType(String type)
The type of data that was detected.
|
String |
toString()
Returns a string representation of this object.
|
DefaultDetection |
withCount(Long count)
The total number of occurrences of the type of data that was detected.
|
DefaultDetection |
withType(String type)
The type of data that was detected.
|
public void setCount(Long count)
The total number of occurrences of the type of data that was detected.
count - The total number of occurrences of the type of data that was detected.public Long getCount()
The total number of occurrences of the type of data that was detected.
public DefaultDetection withCount(Long count)
The total number of occurrences of the type of data that was detected.
count - The total number of occurrences of the type of data that was detected.public void setType(String type)
The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
type - The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.public String getType()
The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
public DefaultDetection withType(String type)
The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
type - The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.public String toString()
toString in class ObjectObject.toString()public DefaultDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.