@Generated(value="software.amazon.awssdk:codegen") public final class Malware extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Malware.Builder,Malware>
A list of malware related to a finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Malware.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Malware.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the malware that was observed.
|
String |
path()
The filesystem path of the malware that was observed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Malware.Builder> |
serializableBuilderClass() |
MalwareState |
state()
The state of the malware that was observed.
|
String |
stateAsString()
The state of the malware that was observed.
|
Malware.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
MalwareType |
type()
The type of the malware that was observed.
|
String |
typeAsString()
The type of the malware that was observed.
|
copypublic String name()
The name of the malware that was observed.
public MalwareType type()
The type of the malware that was observed.
If the service returns an enum value that is not available in the current SDK version, type will return
MalwareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MalwareTypepublic String typeAsString()
The type of the malware that was observed.
If the service returns an enum value that is not available in the current SDK version, type will return
MalwareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
MalwareTypepublic String path()
The filesystem path of the malware that was observed.
public MalwareState state()
The state of the malware that was observed.
If the service returns an enum value that is not available in the current SDK version, state will return
MalwareState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
MalwareStatepublic String stateAsString()
The state of the malware that was observed.
If the service returns an enum value that is not available in the current SDK version, state will return
MalwareState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
MalwareStatepublic Malware.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Malware.Builder,Malware>public static Malware.Builder builder()
public static Class<? extends Malware.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.