@Generated(value="software.amazon.awssdk:codegen") public final class VulnerablePackage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VulnerablePackage.Builder,VulnerablePackage>
Information about a vulnerable package that Amazon Inspector identifies in a finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VulnerablePackage.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arch()
The architecture of the vulnerable package.
|
static VulnerablePackage.Builder |
builder() |
Integer |
epoch()
The epoch of the vulnerable package.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filePath()
The file path of the vulnerable package.
|
String |
fixedInVersion()
The version of the package that contains the vulnerability fix.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the vulnerable package.
|
String |
packageManager()
The package manager of the vulnerable package.
|
String |
release()
The release of the vulnerable package.
|
String |
remediation()
The code to run in your environment to update packages with a fix available.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VulnerablePackage.Builder> |
serializableBuilderClass() |
String |
sourceLayerHash()
The source layer hash of the vulnerable package.
|
VulnerablePackage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the vulnerable package.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the vulnerable package.
public final String version()
The version of the vulnerable package.
public final String sourceLayerHash()
The source layer hash of the vulnerable package.
public final Integer epoch()
The epoch of the vulnerable package.
public final String release()
The release of the vulnerable package.
public final String arch()
The architecture of the vulnerable package.
public final String packageManager()
The package manager of the vulnerable package.
public final String filePath()
The file path of the vulnerable package.
public final String fixedInVersion()
The version of the package that contains the vulnerability fix.
public final String remediation()
The code to run in your environment to update packages with a fix available.
public VulnerablePackage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VulnerablePackage.Builder,VulnerablePackage>public static VulnerablePackage.Builder builder()
public static Class<? extends VulnerablePackage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.