@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 |
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 |
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 |
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 |
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 |
withName(String name)
The name 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 |
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 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.public String getPackageManager()
The package manager of the vulnerable package.
public VulnerablePackage withPackageManager(String packageManager)
The package manager of the vulnerable package.
packageManager
- The package manager of the vulnerable package.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 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.