@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultDetection extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a type of sensitive data that was detected by a managed data identifier 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 sensitive data that was detected.
|
Occurrences |
getOccurrences()
The location of 1-15 occurrences of the sensitive data that was detected.
|
String |
getType()
The type of sensitive data that was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
The total number of occurrences of the type of sensitive data that was detected.
|
void |
setOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that was detected.
|
void |
setType(String type)
The type of sensitive 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 sensitive data that was detected.
|
DefaultDetection |
withOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that was detected.
|
DefaultDetection |
withType(String type)
The type of sensitive data that was detected.
|
public void setCount(Long count)
The total number of occurrences of the type of sensitive data that was detected.
count
- The total number of occurrences of the type of sensitive data that was detected.public Long getCount()
The total number of occurrences of the type of sensitive data that was detected.
public DefaultDetection withCount(Long count)
The total number of occurrences of the type of sensitive data that was detected.
count
- The total number of occurrences of the type of sensitive data that was detected.public void setOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
occurrences
- The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data
for a maximum of 15 occurrences of sensitive data.public Occurrences getOccurrences()
The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
public DefaultDetection withOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
occurrences
- The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data
for a maximum of 15 occurrences of sensitive data.public void setType(String type)
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
type
- The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.public String getType()
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
public DefaultDetection withType(String type)
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
type
- The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.public String toString()
toString
in class Object
Object.toString()
public DefaultDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.