@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MalwareScanDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the malware scan that generated a GuardDuty finding.
| Constructor and Description |
|---|
MalwareScanDetails() |
| Modifier and Type | Method and Description |
|---|---|
MalwareScanDetails |
clone() |
boolean |
equals(Object obj) |
List<Threat> |
getThreats()
Information about the detected threats associated with the generated GuardDuty finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setThreats(Collection<Threat> threats)
Information about the detected threats associated with the generated GuardDuty finding.
|
String |
toString()
Returns a string representation of this object.
|
MalwareScanDetails |
withThreats(Collection<Threat> threats)
Information about the detected threats associated with the generated GuardDuty finding.
|
MalwareScanDetails |
withThreats(Threat... threats)
Information about the detected threats associated with the generated GuardDuty finding.
|
public List<Threat> getThreats()
Information about the detected threats associated with the generated GuardDuty finding.
public void setThreats(Collection<Threat> threats)
Information about the detected threats associated with the generated GuardDuty finding.
threats - Information about the detected threats associated with the generated GuardDuty finding.public MalwareScanDetails withThreats(Threat... threats)
Information about the detected threats associated with the generated GuardDuty finding.
NOTE: This method appends the values to the existing list (if any). Use
setThreats(java.util.Collection) or withThreats(java.util.Collection) if you want to override
the existing values.
threats - Information about the detected threats associated with the generated GuardDuty finding.public MalwareScanDetails withThreats(Collection<Threat> threats)
Information about the detected threats associated with the generated GuardDuty finding.
threats - Information about the detected threats associated with the generated GuardDuty finding.public String toString()
toString in class ObjectObject.toString()public MalwareScanDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.