@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) |
boolean |
equalsBySdkFields(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 file system 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() |
String |
toString()
Returns a string representation of this object.
|
MalwareType |
type()
The type of the malware that was observed.
|
String |
typeAsString()
The type of the malware that was observed.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the malware that was observed.
public final 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 final 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 final String path()
The file system path of the malware that was observed.
public final 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 final 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()
toBuilder in interface ToCopyableBuilder<Malware.Builder,Malware>public static Malware.Builder builder()
public static Class<? extends Malware.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.