@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VulnerablePackage extends Object implements Serializable, Cloneable, StructuredPojo
Information on the vulnerable package identified by a finding.
Constructor and Description |
---|
VulnerablePackage() |
Modifier and Type | Method and Description |
---|---|
VulnerablePackage |
clone() |
boolean |
equals(Object obj) |
String |
getArch()
The architecture of the vulnerable package.
|
Integer |
getEpoch()
The epoch of the vulnerable package.
|
String |
getFilePath()
The file path of the vulnerable package.
|
String |
getFixedInVersion()
The version of the package that contains the vulnerability fix.
|
String |
getName()
The name of the vulnerable package.
|
String |
getPackageManager()
The package manager of the vulnerable package.
|
String |
getRelease()
The release of the vulnerable package.
|
String |
getRemediation()
The code to run in your environment to update packages with a fix available.
|
String |
getSourceLambdaLayerArn()
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
|
String |
getSourceLayerHash()
The source layer hash of the vulnerable package.
|
String |
getVersion()
The version of the vulnerable package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArch(String arch)
The architecture of the vulnerable package.
|
void |
setEpoch(Integer epoch)
The epoch of the vulnerable package.
|
void |
setFilePath(String filePath)
The file path of the vulnerable package.
|
void |
setFixedInVersion(String fixedInVersion)
The version of the package that contains the vulnerability fix.
|
void |
setName(String name)
The name of the vulnerable package.
|
void |
setPackageManager(String packageManager)
The package manager of the vulnerable package.
|
void |
setRelease(String release)
The release of the vulnerable package.
|
void |
setRemediation(String remediation)
The code to run in your environment to update packages with a fix available.
|
void |
setSourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
|
void |
setSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
|
void |
setVersion(String version)
The version of the vulnerable package.
|
String |
toString()
Returns a string representation of this object.
|
VulnerablePackage |
withArch(String arch)
The architecture of the vulnerable package.
|
VulnerablePackage |
withEpoch(Integer epoch)
The epoch of the vulnerable package.
|
VulnerablePackage |
withFilePath(String filePath)
The file path of the vulnerable package.
|
VulnerablePackage |
withFixedInVersion(String fixedInVersion)
The version of the package that contains the vulnerability fix.
|
VulnerablePackage |
withName(String name)
The name of the vulnerable package.
|
VulnerablePackage |
withPackageManager(PackageManager packageManager)
The package manager of the vulnerable package.
|
VulnerablePackage |
withPackageManager(String packageManager)
The package manager of the vulnerable package.
|
VulnerablePackage |
withRelease(String release)
The release of the vulnerable package.
|
VulnerablePackage |
withRemediation(String remediation)
The code to run in your environment to update packages with a fix available.
|
VulnerablePackage |
withSourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
|
VulnerablePackage |
withSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
|
VulnerablePackage |
withVersion(String version)
The version of the vulnerable package.
|
public void setArch(String arch)
The architecture of the vulnerable package.
arch
- The architecture of the vulnerable package.public String getArch()
The architecture of the vulnerable package.
public VulnerablePackage withArch(String arch)
The architecture of the vulnerable package.
arch
- The architecture of the vulnerable package.public void setEpoch(Integer epoch)
The epoch of the vulnerable package.
epoch
- The epoch of the vulnerable package.public Integer getEpoch()
The epoch of the vulnerable package.
public VulnerablePackage withEpoch(Integer epoch)
The epoch of the vulnerable package.
epoch
- The epoch of the vulnerable package.public void setFilePath(String filePath)
The file path of the vulnerable package.
filePath
- The file path of the vulnerable package.public String getFilePath()
The file path of the vulnerable package.
public VulnerablePackage withFilePath(String filePath)
The file path of the vulnerable package.
filePath
- The file path of the vulnerable package.public void setFixedInVersion(String fixedInVersion)
The version of the package that contains the vulnerability fix.
fixedInVersion
- The version of the package that contains the vulnerability fix.public String getFixedInVersion()
The version of the package that contains the vulnerability fix.
public VulnerablePackage withFixedInVersion(String fixedInVersion)
The version of the package that contains the vulnerability fix.
fixedInVersion
- The version of the package that contains the vulnerability fix.public void setName(String name)
The name of the vulnerable package.
name
- The name of the vulnerable package.public String getName()
The name of the vulnerable package.
public VulnerablePackage withName(String name)
The name of the vulnerable package.
name
- The name of the vulnerable package.public void setPackageManager(String packageManager)
The package manager of the vulnerable package.
packageManager
- The package manager of the vulnerable package.PackageManager
public String getPackageManager()
The package manager of the vulnerable package.
PackageManager
public VulnerablePackage withPackageManager(String packageManager)
The package manager of the vulnerable package.
packageManager
- The package manager of the vulnerable package.PackageManager
public VulnerablePackage withPackageManager(PackageManager packageManager)
The package manager of the vulnerable package.
packageManager
- The package manager of the vulnerable package.PackageManager
public void setRelease(String release)
The release of the vulnerable package.
release
- The release of the vulnerable package.public String getRelease()
The release of the vulnerable package.
public VulnerablePackage withRelease(String release)
The release of the vulnerable package.
release
- The release of the vulnerable package.public void setRemediation(String remediation)
The code to run in your environment to update packages with a fix available.
remediation
- The code to run in your environment to update packages with a fix available.public String getRemediation()
The code to run in your environment to update packages with a fix available.
public VulnerablePackage withRemediation(String remediation)
The code to run in your environment to update packages with a fix available.
remediation
- The code to run in your environment to update packages with a fix available.public void setSourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
sourceLambdaLayerArn
- The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.public String getSourceLambdaLayerArn()
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
public VulnerablePackage withSourceLambdaLayerArn(String sourceLambdaLayerArn)
The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.
sourceLambdaLayerArn
- The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a finding.public void setSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
sourceLayerHash
- The source layer hash of the vulnerable package.public String getSourceLayerHash()
The source layer hash of the vulnerable package.
public VulnerablePackage withSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
sourceLayerHash
- The source layer hash of the vulnerable package.public void setVersion(String version)
The version of the vulnerable package.
version
- The version of the vulnerable package.public String getVersion()
The version of the vulnerable package.
public VulnerablePackage withVersion(String version)
The version of the vulnerable package.
version
- The version of the vulnerable package.public String toString()
toString
in class Object
Object.toString()
public VulnerablePackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.