@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThreatDetectedByName extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about identified threats organized by threat name.
Constructor and Description |
---|
ThreatDetectedByName() |
Modifier and Type | Method and Description |
---|---|
ThreatDetectedByName |
clone() |
boolean |
equals(Object obj) |
Integer |
getItemCount()
Total number of infected files identified.
|
Boolean |
getShortened()
Flag to determine if the finding contains every single infected file-path and/or every threat.
|
List<ScanThreatName> |
getThreatNames()
List of identified threats with details, organized by threat name.
|
Integer |
getUniqueThreatNameCount()
Total number of unique threats by name identified, as part of the malware scan.
|
int |
hashCode() |
Boolean |
isShortened()
Flag to determine if the finding contains every single infected file-path and/or every threat.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItemCount(Integer itemCount)
Total number of infected files identified.
|
void |
setShortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
|
void |
setThreatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
|
void |
setUniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
|
String |
toString()
Returns a string representation of this object.
|
ThreatDetectedByName |
withItemCount(Integer itemCount)
Total number of infected files identified.
|
ThreatDetectedByName |
withShortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
|
ThreatDetectedByName |
withThreatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
|
ThreatDetectedByName |
withThreatNames(ScanThreatName... threatNames)
List of identified threats with details, organized by threat name.
|
ThreatDetectedByName |
withUniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
|
public void setItemCount(Integer itemCount)
Total number of infected files identified.
itemCount
- Total number of infected files identified.public Integer getItemCount()
Total number of infected files identified.
public ThreatDetectedByName withItemCount(Integer itemCount)
Total number of infected files identified.
itemCount
- Total number of infected files identified.public void setUniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
uniqueThreatNameCount
- Total number of unique threats by name identified, as part of the malware scan.public Integer getUniqueThreatNameCount()
Total number of unique threats by name identified, as part of the malware scan.
public ThreatDetectedByName withUniqueThreatNameCount(Integer uniqueThreatNameCount)
Total number of unique threats by name identified, as part of the malware scan.
uniqueThreatNameCount
- Total number of unique threats by name identified, as part of the malware scan.public void setShortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
shortened
- Flag to determine if the finding contains every single infected file-path and/or every threat.public Boolean getShortened()
Flag to determine if the finding contains every single infected file-path and/or every threat.
public ThreatDetectedByName withShortened(Boolean shortened)
Flag to determine if the finding contains every single infected file-path and/or every threat.
shortened
- Flag to determine if the finding contains every single infected file-path and/or every threat.public Boolean isShortened()
Flag to determine if the finding contains every single infected file-path and/or every threat.
public List<ScanThreatName> getThreatNames()
List of identified threats with details, organized by threat name.
public void setThreatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
threatNames
- List of identified threats with details, organized by threat name.public ThreatDetectedByName withThreatNames(ScanThreatName... threatNames)
List of identified threats with details, organized by threat name.
NOTE: This method appends the values to the existing list (if any). Use
setThreatNames(java.util.Collection)
or withThreatNames(java.util.Collection)
if you want to
override the existing values.
threatNames
- List of identified threats with details, organized by threat name.public ThreatDetectedByName withThreatNames(Collection<ScanThreatName> threatNames)
List of identified threats with details, organized by threat name.
threatNames
- List of identified threats with details, organized by threat name.public String toString()
toString
in class Object
Object.toString()
public ThreatDetectedByName clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.