@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SoftwarePackage extends Object implements Serializable, Cloneable, StructuredPojo
Information about a software package.
Constructor and Description |
---|
SoftwarePackage() |
Modifier and Type | Method and Description |
---|---|
SoftwarePackage |
clone() |
boolean |
equals(Object obj) |
String |
getArchitecture()
The architecture used for the software package.
|
String |
getEpoch()
The epoch of the software package.
|
String |
getFilePath()
The file system path to the package manager inventory file.
|
String |
getFixedInVersion()
The version of the software package in which the vulnerability has been resolved.
|
String |
getName()
The name of the software package.
|
String |
getPackageManager()
The source of the package.
|
String |
getRelease()
The release of the software package.
|
String |
getRemediation()
Describes the actions a customer can take to resolve the vulnerability in the software package.
|
String |
getSourceLayerArn()
The Amazon Resource Name (ARN) of the source layer.
|
String |
getSourceLayerHash()
The source layer hash of the vulnerable package.
|
String |
getVersion()
The version of the software package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArchitecture(String architecture)
The architecture used for the software package.
|
void |
setEpoch(String epoch)
The epoch of the software package.
|
void |
setFilePath(String filePath)
The file system path to the package manager inventory file.
|
void |
setFixedInVersion(String fixedInVersion)
The version of the software package in which the vulnerability has been resolved.
|
void |
setName(String name)
The name of the software package.
|
void |
setPackageManager(String packageManager)
The source of the package.
|
void |
setRelease(String release)
The release of the software package.
|
void |
setRemediation(String remediation)
Describes the actions a customer can take to resolve the vulnerability in the software package.
|
void |
setSourceLayerArn(String sourceLayerArn)
The Amazon Resource Name (ARN) of the source layer.
|
void |
setSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
|
void |
setVersion(String version)
The version of the software package.
|
String |
toString()
Returns a string representation of this object.
|
SoftwarePackage |
withArchitecture(String architecture)
The architecture used for the software package.
|
SoftwarePackage |
withEpoch(String epoch)
The epoch of the software package.
|
SoftwarePackage |
withFilePath(String filePath)
The file system path to the package manager inventory file.
|
SoftwarePackage |
withFixedInVersion(String fixedInVersion)
The version of the software package in which the vulnerability has been resolved.
|
SoftwarePackage |
withName(String name)
The name of the software package.
|
SoftwarePackage |
withPackageManager(String packageManager)
The source of the package.
|
SoftwarePackage |
withRelease(String release)
The release of the software package.
|
SoftwarePackage |
withRemediation(String remediation)
Describes the actions a customer can take to resolve the vulnerability in the software package.
|
SoftwarePackage |
withSourceLayerArn(String sourceLayerArn)
The Amazon Resource Name (ARN) of the source layer.
|
SoftwarePackage |
withSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
|
SoftwarePackage |
withVersion(String version)
The version of the software package.
|
public void setName(String name)
The name of the software package.
name
- The name of the software package.public String getName()
The name of the software package.
public SoftwarePackage withName(String name)
The name of the software package.
name
- The name of the software package.public void setVersion(String version)
The version of the software package.
version
- The version of the software package.public String getVersion()
The version of the software package.
public SoftwarePackage withVersion(String version)
The version of the software package.
version
- The version of the software package.public void setEpoch(String epoch)
The epoch of the software package.
epoch
- The epoch of the software package.public String getEpoch()
The epoch of the software package.
public SoftwarePackage withEpoch(String epoch)
The epoch of the software package.
epoch
- The epoch of the software package.public void setRelease(String release)
The release of the software package.
release
- The release of the software package.public String getRelease()
The release of the software package.
public SoftwarePackage withRelease(String release)
The release of the software package.
release
- The release of the software package.public void setArchitecture(String architecture)
The architecture used for the software package.
architecture
- The architecture used for the software package.public String getArchitecture()
The architecture used for the software package.
public SoftwarePackage withArchitecture(String architecture)
The architecture used for the software package.
architecture
- The architecture used for the software package.public void setPackageManager(String packageManager)
The source of the package.
packageManager
- The source of the package.public String getPackageManager()
The source of the package.
public SoftwarePackage withPackageManager(String packageManager)
The source of the package.
packageManager
- The source of the package.public void setFilePath(String filePath)
The file system path to the package manager inventory file.
filePath
- The file system path to the package manager inventory file.public String getFilePath()
The file system path to the package manager inventory file.
public SoftwarePackage withFilePath(String filePath)
The file system path to the package manager inventory file.
filePath
- The file system path to the package manager inventory file.public void setFixedInVersion(String fixedInVersion)
The version of the software package in which the vulnerability has been resolved.
fixedInVersion
- The version of the software package in which the vulnerability has been resolved.public String getFixedInVersion()
The version of the software package in which the vulnerability has been resolved.
public SoftwarePackage withFixedInVersion(String fixedInVersion)
The version of the software package in which the vulnerability has been resolved.
fixedInVersion
- The version of the software package in which the vulnerability has been resolved.public void setRemediation(String remediation)
Describes the actions a customer can take to resolve the vulnerability in the software package.
remediation
- Describes the actions a customer can take to resolve the vulnerability in the software package.public String getRemediation()
Describes the actions a customer can take to resolve the vulnerability in the software package.
public SoftwarePackage withRemediation(String remediation)
Describes the actions a customer can take to resolve the vulnerability in the software package.
remediation
- Describes the actions a customer can take to resolve the vulnerability in the software 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 SoftwarePackage withSourceLayerHash(String sourceLayerHash)
The source layer hash of the vulnerable package.
sourceLayerHash
- The source layer hash of the vulnerable package.public void setSourceLayerArn(String sourceLayerArn)
The Amazon Resource Name (ARN) of the source layer.
sourceLayerArn
- The Amazon Resource Name (ARN) of the source layer.public String getSourceLayerArn()
The Amazon Resource Name (ARN) of the source layer.
public SoftwarePackage withSourceLayerArn(String sourceLayerArn)
The Amazon Resource Name (ARN) of the source layer.
sourceLayerArn
- The Amazon Resource Name (ARN) of the source layer.public String toString()
toString
in class Object
Object.toString()
public SoftwarePackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.