@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanThreatName extends Object implements Serializable, Cloneable, StructuredPojo
Contains files infected with the given threat providing details of malware name and severity.
Constructor and Description |
---|
ScanThreatName() |
Modifier and Type | Method and Description |
---|---|
ScanThreatName |
clone() |
boolean |
equals(Object obj) |
List<ScanFilePath> |
getFilePaths()
List of infected files in EBS volume with details.
|
Integer |
getItemCount()
Total number of files infected with given threat.
|
String |
getName()
The name of the identified threat.
|
String |
getSeverity()
Severity of threat identified as part of the malware scan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFilePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
|
void |
setItemCount(Integer itemCount)
Total number of files infected with given threat.
|
void |
setName(String name)
The name of the identified threat.
|
void |
setSeverity(String severity)
Severity of threat identified as part of the malware scan.
|
String |
toString()
Returns a string representation of this object.
|
ScanThreatName |
withFilePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
|
ScanThreatName |
withFilePaths(ScanFilePath... filePaths)
List of infected files in EBS volume with details.
|
ScanThreatName |
withItemCount(Integer itemCount)
Total number of files infected with given threat.
|
ScanThreatName |
withName(String name)
The name of the identified threat.
|
ScanThreatName |
withSeverity(String severity)
Severity of threat identified as part of the malware scan.
|
public void setName(String name)
The name of the identified threat.
name
- The name of the identified threat.public String getName()
The name of the identified threat.
public ScanThreatName withName(String name)
The name of the identified threat.
name
- The name of the identified threat.public void setSeverity(String severity)
Severity of threat identified as part of the malware scan.
severity
- Severity of threat identified as part of the malware scan.public String getSeverity()
Severity of threat identified as part of the malware scan.
public ScanThreatName withSeverity(String severity)
Severity of threat identified as part of the malware scan.
severity
- Severity of threat identified as part of the malware scan.public void setItemCount(Integer itemCount)
Total number of files infected with given threat.
itemCount
- Total number of files infected with given threat.public Integer getItemCount()
Total number of files infected with given threat.
public ScanThreatName withItemCount(Integer itemCount)
Total number of files infected with given threat.
itemCount
- Total number of files infected with given threat.public List<ScanFilePath> getFilePaths()
List of infected files in EBS volume with details.
public void setFilePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
filePaths
- List of infected files in EBS volume with details.public ScanThreatName withFilePaths(ScanFilePath... filePaths)
List of infected files in EBS volume with details.
NOTE: This method appends the values to the existing list (if any). Use
setFilePaths(java.util.Collection)
or withFilePaths(java.util.Collection)
if you want to
override the existing values.
filePaths
- List of infected files in EBS volume with details.public ScanThreatName withFilePaths(Collection<ScanFilePath> filePaths)
List of infected files in EBS volume with details.
filePaths
- List of infected files in EBS volume with details.public String toString()
toString
in class Object
Object.toString()
public ScanThreatName clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.