@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Malware extends Object implements Serializable, Cloneable, StructuredPojo
A list of malware related to a finding.
| Constructor and Description |
|---|
Malware() |
| Modifier and Type | Method and Description |
|---|---|
Malware |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the malware that was observed.
|
String |
getPath()
The file system path of the malware that was observed.
|
String |
getState()
The state of the malware that was observed.
|
String |
getType()
The type of the malware that was observed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the malware that was observed.
|
void |
setPath(String path)
The file system path of the malware that was observed.
|
void |
setState(String state)
The state of the malware that was observed.
|
void |
setType(String type)
The type of the malware that was observed.
|
String |
toString()
Returns a string representation of this object.
|
Malware |
withName(String name)
The name of the malware that was observed.
|
Malware |
withPath(String path)
The file system path of the malware that was observed.
|
Malware |
withState(MalwareState state)
The state of the malware that was observed.
|
Malware |
withState(String state)
The state of the malware that was observed.
|
Malware |
withType(MalwareType type)
The type of the malware that was observed.
|
Malware |
withType(String type)
The type of the malware that was observed.
|
public void setName(String name)
The name of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 64.
name - The name of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 64.
public String getName()
The name of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 64.
Length Constraints: Minimum of 1. Maximum of 64.
public Malware withName(String name)
The name of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 64.
name - The name of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 64.
public void setType(String type)
The type of the malware that was observed.
type - The type of the malware that was observed.MalwareTypepublic String getType()
The type of the malware that was observed.
MalwareTypepublic Malware withType(String type)
The type of the malware that was observed.
type - The type of the malware that was observed.MalwareTypepublic Malware withType(MalwareType type)
The type of the malware that was observed.
type - The type of the malware that was observed.MalwareTypepublic void setPath(String path)
The file system path of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 512.
path - The file system path of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 512.
public String getPath()
The file system path of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 512.
Length Constraints: Minimum of 1. Maximum of 512.
public Malware withPath(String path)
The file system path of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 512.
path - The file system path of the malware that was observed.
Length Constraints: Minimum of 1. Maximum of 512.
public void setState(String state)
The state of the malware that was observed.
state - The state of the malware that was observed.MalwareStatepublic String getState()
The state of the malware that was observed.
MalwareStatepublic Malware withState(String state)
The state of the malware that was observed.
state - The state of the malware that was observed.MalwareStatepublic Malware withState(MalwareState state)
The state of the malware that was observed.
state - The state of the malware that was observed.MalwareStatepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.