@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Detection extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the detected behavior.
Constructor and Description |
---|
Detection() |
Modifier and Type | Method and Description |
---|---|
Detection |
clone() |
boolean |
equals(Object obj) |
Anomaly |
getAnomaly()
The details about the anomalous activity that caused GuardDuty to generate the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnomaly(Anomaly anomaly)
The details about the anomalous activity that caused GuardDuty to generate the finding.
|
String |
toString()
Returns a string representation of this object.
|
Detection |
withAnomaly(Anomaly anomaly)
The details about the anomalous activity that caused GuardDuty to generate the finding.
|
public void setAnomaly(Anomaly anomaly)
The details about the anomalous activity that caused GuardDuty to generate the finding.
anomaly
- The details about the anomalous activity that caused GuardDuty to generate the finding.public Anomaly getAnomaly()
The details about the anomalous activity that caused GuardDuty to generate the finding.
public Detection withAnomaly(Anomaly anomaly)
The details about the anomalous activity that caused GuardDuty to generate the finding.
anomaly
- The details about the anomalous activity that caused GuardDuty to generate the finding.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.