@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomDetection extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a custom data identifier that produced a sensitive data finding, and the sensitive data that it detected for the finding.
Constructor and Description |
---|
CustomDetection() |
Modifier and Type | Method and Description |
---|---|
CustomDetection |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The unique identifier for the custom data identifier.
|
Long |
getCount()
The total number of occurrences of the sensitive data that the custom data identifier detected.
|
String |
getName()
The name of the custom data identifier.
|
Occurrences |
getOccurrences()
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The unique identifier for the custom data identifier.
|
void |
setCount(Long count)
The total number of occurrences of the sensitive data that the custom data identifier detected.
|
void |
setName(String name)
The name of the custom data identifier.
|
void |
setOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.
|
String |
toString()
Returns a string representation of this object.
|
CustomDetection |
withArn(String arn)
The unique identifier for the custom data identifier.
|
CustomDetection |
withCount(Long count)
The total number of occurrences of the sensitive data that the custom data identifier detected.
|
CustomDetection |
withName(String name)
The name of the custom data identifier.
|
CustomDetection |
withOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.
|
public void setArn(String arn)
The unique identifier for the custom data identifier.
arn
- The unique identifier for the custom data identifier.public String getArn()
The unique identifier for the custom data identifier.
public CustomDetection withArn(String arn)
The unique identifier for the custom data identifier.
arn
- The unique identifier for the custom data identifier.public void setCount(Long count)
The total number of occurrences of the sensitive data that the custom data identifier detected.
count
- The total number of occurrences of the sensitive data that the custom data identifier detected.public Long getCount()
The total number of occurrences of the sensitive data that the custom data identifier detected.
public CustomDetection withCount(Long count)
The total number of occurrences of the sensitive data that the custom data identifier detected.
count
- The total number of occurrences of the sensitive data that the custom data identifier detected.public void setName(String name)
The name of the custom data identifier.
name
- The name of the custom data identifier.public String getName()
The name of the custom data identifier.
public CustomDetection withName(String name)
The name of the custom data identifier.
name
- The name of the custom data identifier.public void setOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that the custom data identifier 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 the custom data identifier 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 the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
public CustomDetection withOccurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that the custom data identifier 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 the custom data identifier detected. A finding
includes location data for a maximum of 15 occurrences of sensitive data.public String toString()
toString
in class Object
Object.toString()
public CustomDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.