@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FilePaths extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the file paths that were affected by the threat.
Constructor and Description |
---|
FilePaths() |
Modifier and Type | Method and Description |
---|---|
FilePaths |
clone() |
boolean |
equals(Object obj) |
String |
getFileName()
The name of the infected or suspicious file corresponding to the hash.
|
String |
getFilePath()
Path to the infected or suspicious file on the resource it was detected on.
|
String |
getHash()
The hash value for the infected or suspicious file.
|
String |
getResourceId()
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFileName(String fileName)
The name of the infected or suspicious file corresponding to the hash.
|
void |
setFilePath(String filePath)
Path to the infected or suspicious file on the resource it was detected on.
|
void |
setHash(String hash)
The hash value for the infected or suspicious file.
|
void |
setResourceId(String resourceId)
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
|
String |
toString()
Returns a string representation of this object.
|
FilePaths |
withFileName(String fileName)
The name of the infected or suspicious file corresponding to the hash.
|
FilePaths |
withFilePath(String filePath)
Path to the infected or suspicious file on the resource it was detected on.
|
FilePaths |
withHash(String hash)
The hash value for the infected or suspicious file.
|
FilePaths |
withResourceId(String resourceId)
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
|
public void setFilePath(String filePath)
Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
filePath
- Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public String getFilePath()
Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public FilePaths withFilePath(String filePath)
Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
filePath
- Path to the infected or suspicious file on the resource it was detected on.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public void setFileName(String fileName)
The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
fileName
- The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public String getFileName()
The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public FilePaths withFileName(String fileName)
The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
fileName
- The name of the infected or suspicious file corresponding to the hash.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public void setResourceId(String resourceId)
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
resourceId
- The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public String getResourceId()
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public FilePaths withResourceId(String resourceId)
The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
resourceId
- The Amazon Resource Name (ARN) of the resource on which the threat was detected.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public void setHash(String hash)
The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
hash
- The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public String getHash()
The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
public FilePaths withHash(String hash)
The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
hash
- The hash value for the infected or suspicious file.
Length Constraints: Minimum of 1 length. Maximum of 128 length.
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.