@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 number of occurrences of the 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 Amazon Resource Name (ARN) of the custom data identifier.
|
Long |
getCount()
The total number of occurrences of the data that the custom data identifier detected for the finding.
|
String |
getName()
The name of the custom data identifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the custom data identifier.
|
void |
setCount(Long count)
The total number of occurrences of the data that the custom data identifier detected for the finding.
|
void |
setName(String name)
The name of the custom data identifier.
|
String |
toString()
Returns a string representation of this object.
|
CustomDetection |
withArn(String arn)
The Amazon Resource Name (ARN) of the custom data identifier.
|
CustomDetection |
withCount(Long count)
The total number of occurrences of the data that the custom data identifier detected for the finding.
|
CustomDetection |
withName(String name)
The name of the custom data identifier.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the custom data identifier.
arn
- The Amazon Resource Name (ARN) of the custom data identifier.public String getArn()
The Amazon Resource Name (ARN) of the custom data identifier.
public CustomDetection withArn(String arn)
The Amazon Resource Name (ARN) of the custom data identifier.
arn
- The Amazon Resource Name (ARN) of the custom data identifier.public void setCount(Long count)
The total number of occurrences of the data that the custom data identifier detected for the finding.
count
- The total number of occurrences of the data that the custom data identifier detected for the finding.public Long getCount()
The total number of occurrences of the data that the custom data identifier detected for the finding.
public CustomDetection withCount(Long count)
The total number of occurrences of the data that the custom data identifier detected for the finding.
count
- The total number of occurrences of the data that the custom data identifier detected for the finding.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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.