@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVulnerabilityDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about a package vulnerability finding.
Constructor and Description |
---|
PackageVulnerabilityDetails() |
Modifier and Type | Method and Description |
---|---|
PackageVulnerabilityDetails |
clone() |
boolean |
equals(Object obj) |
List<CvssScore> |
getCvss()
An object that contains details about the CVSS score of a finding.
|
List<String> |
getReferenceUrls()
One or more URLs that contain details about this vulnerability type.
|
List<String> |
getRelatedVulnerabilities()
One or more vulnerabilities related to the one identified in this finding.
|
String |
getSource()
The source of the vulnerability information.
|
String |
getSourceUrl()
A URL to the source of the vulnerability information.
|
Date |
getVendorCreatedAt()
The date and time that this vulnerability was first added to the vendor's database.
|
String |
getVendorSeverity()
The severity the vendor has given to this vulnerability type.
|
Date |
getVendorUpdatedAt()
The date and time the vendor last updated this vulnerability in their database.
|
String |
getVulnerabilityId()
The ID given to this vulnerability.
|
List<VulnerablePackage> |
getVulnerablePackages()
The packages impacted by this vulnerability.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCvss(Collection<CvssScore> cvss)
An object that contains details about the CVSS score of a finding.
|
void |
setReferenceUrls(Collection<String> referenceUrls)
One or more URLs that contain details about this vulnerability type.
|
void |
setRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
|
void |
setSource(String source)
The source of the vulnerability information.
|
void |
setSourceUrl(String sourceUrl)
A URL to the source of the vulnerability information.
|
void |
setVendorCreatedAt(Date vendorCreatedAt)
The date and time that this vulnerability was first added to the vendor's database.
|
void |
setVendorSeverity(String vendorSeverity)
The severity the vendor has given to this vulnerability type.
|
void |
setVendorUpdatedAt(Date vendorUpdatedAt)
The date and time the vendor last updated this vulnerability in their database.
|
void |
setVulnerabilityId(String vulnerabilityId)
The ID given to this vulnerability.
|
void |
setVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages impacted by this vulnerability.
|
String |
toString()
Returns a string representation of this object.
|
PackageVulnerabilityDetails |
withCvss(Collection<CvssScore> cvss)
An object that contains details about the CVSS score of a finding.
|
PackageVulnerabilityDetails |
withCvss(CvssScore... cvss)
An object that contains details about the CVSS score of a finding.
|
PackageVulnerabilityDetails |
withReferenceUrls(Collection<String> referenceUrls)
One or more URLs that contain details about this vulnerability type.
|
PackageVulnerabilityDetails |
withReferenceUrls(String... referenceUrls)
One or more URLs that contain details about this vulnerability type.
|
PackageVulnerabilityDetails |
withRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
|
PackageVulnerabilityDetails |
withRelatedVulnerabilities(String... relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
|
PackageVulnerabilityDetails |
withSource(String source)
The source of the vulnerability information.
|
PackageVulnerabilityDetails |
withSourceUrl(String sourceUrl)
A URL to the source of the vulnerability information.
|
PackageVulnerabilityDetails |
withVendorCreatedAt(Date vendorCreatedAt)
The date and time that this vulnerability was first added to the vendor's database.
|
PackageVulnerabilityDetails |
withVendorSeverity(String vendorSeverity)
The severity the vendor has given to this vulnerability type.
|
PackageVulnerabilityDetails |
withVendorUpdatedAt(Date vendorUpdatedAt)
The date and time the vendor last updated this vulnerability in their database.
|
PackageVulnerabilityDetails |
withVulnerabilityId(String vulnerabilityId)
The ID given to this vulnerability.
|
PackageVulnerabilityDetails |
withVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages impacted by this vulnerability.
|
PackageVulnerabilityDetails |
withVulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages impacted by this vulnerability.
|
public List<CvssScore> getCvss()
An object that contains details about the CVSS score of a finding.
public void setCvss(Collection<CvssScore> cvss)
An object that contains details about the CVSS score of a finding.
cvss
- An object that contains details about the CVSS score of a finding.public PackageVulnerabilityDetails withCvss(CvssScore... cvss)
An object that contains details about the CVSS score of a finding.
NOTE: This method appends the values to the existing list (if any). Use
setCvss(java.util.Collection)
or withCvss(java.util.Collection)
if you want to override the
existing values.
cvss
- An object that contains details about the CVSS score of a finding.public PackageVulnerabilityDetails withCvss(Collection<CvssScore> cvss)
An object that contains details about the CVSS score of a finding.
cvss
- An object that contains details about the CVSS score of a finding.public List<String> getReferenceUrls()
One or more URLs that contain details about this vulnerability type.
public void setReferenceUrls(Collection<String> referenceUrls)
One or more URLs that contain details about this vulnerability type.
referenceUrls
- One or more URLs that contain details about this vulnerability type.public PackageVulnerabilityDetails withReferenceUrls(String... referenceUrls)
One or more URLs that contain details about this vulnerability type.
NOTE: This method appends the values to the existing list (if any). Use
setReferenceUrls(java.util.Collection)
or withReferenceUrls(java.util.Collection)
if you want
to override the existing values.
referenceUrls
- One or more URLs that contain details about this vulnerability type.public PackageVulnerabilityDetails withReferenceUrls(Collection<String> referenceUrls)
One or more URLs that contain details about this vulnerability type.
referenceUrls
- One or more URLs that contain details about this vulnerability type.public List<String> getRelatedVulnerabilities()
One or more vulnerabilities related to the one identified in this finding.
public void setRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
relatedVulnerabilities
- One or more vulnerabilities related to the one identified in this finding.public PackageVulnerabilityDetails withRelatedVulnerabilities(String... relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedVulnerabilities(java.util.Collection)
or
withRelatedVulnerabilities(java.util.Collection)
if you want to override the existing values.
relatedVulnerabilities
- One or more vulnerabilities related to the one identified in this finding.public PackageVulnerabilityDetails withRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
One or more vulnerabilities related to the one identified in this finding.
relatedVulnerabilities
- One or more vulnerabilities related to the one identified in this finding.public void setSource(String source)
The source of the vulnerability information.
source
- The source of the vulnerability information.public String getSource()
The source of the vulnerability information.
public PackageVulnerabilityDetails withSource(String source)
The source of the vulnerability information.
source
- The source of the vulnerability information.public void setSourceUrl(String sourceUrl)
A URL to the source of the vulnerability information.
sourceUrl
- A URL to the source of the vulnerability information.public String getSourceUrl()
A URL to the source of the vulnerability information.
public PackageVulnerabilityDetails withSourceUrl(String sourceUrl)
A URL to the source of the vulnerability information.
sourceUrl
- A URL to the source of the vulnerability information.public void setVendorCreatedAt(Date vendorCreatedAt)
The date and time that this vulnerability was first added to the vendor's database.
vendorCreatedAt
- The date and time that this vulnerability was first added to the vendor's database.public Date getVendorCreatedAt()
The date and time that this vulnerability was first added to the vendor's database.
public PackageVulnerabilityDetails withVendorCreatedAt(Date vendorCreatedAt)
The date and time that this vulnerability was first added to the vendor's database.
vendorCreatedAt
- The date and time that this vulnerability was first added to the vendor's database.public void setVendorSeverity(String vendorSeverity)
The severity the vendor has given to this vulnerability type.
vendorSeverity
- The severity the vendor has given to this vulnerability type.public String getVendorSeverity()
The severity the vendor has given to this vulnerability type.
public PackageVulnerabilityDetails withVendorSeverity(String vendorSeverity)
The severity the vendor has given to this vulnerability type.
vendorSeverity
- The severity the vendor has given to this vulnerability type.public void setVendorUpdatedAt(Date vendorUpdatedAt)
The date and time the vendor last updated this vulnerability in their database.
vendorUpdatedAt
- The date and time the vendor last updated this vulnerability in their database.public Date getVendorUpdatedAt()
The date and time the vendor last updated this vulnerability in their database.
public PackageVulnerabilityDetails withVendorUpdatedAt(Date vendorUpdatedAt)
The date and time the vendor last updated this vulnerability in their database.
vendorUpdatedAt
- The date and time the vendor last updated this vulnerability in their database.public void setVulnerabilityId(String vulnerabilityId)
The ID given to this vulnerability.
vulnerabilityId
- The ID given to this vulnerability.public String getVulnerabilityId()
The ID given to this vulnerability.
public PackageVulnerabilityDetails withVulnerabilityId(String vulnerabilityId)
The ID given to this vulnerability.
vulnerabilityId
- The ID given to this vulnerability.public List<VulnerablePackage> getVulnerablePackages()
The packages impacted by this vulnerability.
public void setVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages impacted by this vulnerability.
vulnerablePackages
- The packages impacted by this vulnerability.public PackageVulnerabilityDetails withVulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages impacted by this vulnerability.
NOTE: This method appends the values to the existing list (if any). Use
setVulnerablePackages(java.util.Collection)
or withVulnerablePackages(java.util.Collection)
if
you want to override the existing values.
vulnerablePackages
- The packages impacted by this vulnerability.public PackageVulnerabilityDetails withVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages impacted by this vulnerability.
vulnerablePackages
- The packages impacted by this vulnerability.public String toString()
toString
in class Object
Object.toString()
public PackageVulnerabilityDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.