@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageVulnerabilityDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about package vulnerability findings.
Constructor and Description |
---|
PackageVulnerabilityDetails() |
Modifier and Type | Method and Description |
---|---|
PackageVulnerabilityDetails |
clone() |
boolean |
equals(Object obj) |
List<CvssScore> |
getCvss()
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
List<String> |
getReferenceUrls()
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
List<String> |
getRelatedVulnerabilities()
Vulnerabilities that are often related to the findings for the package.
|
String |
getSource()
The source of the vulnerability information.
|
String |
getSourceUrl()
A link to the source of the vulnerability information.
|
Date |
getVendorCreatedAt()
The date and time when this vulnerability was first added to the vendor's database.
|
String |
getVendorSeverity()
The severity that the vendor assigned to this vulnerability type.
|
Date |
getVendorUpdatedAt()
The date and time when the vendor last updated this vulnerability in their database.
|
String |
getVulnerabilityId()
A unique identifier for this vulnerability.
|
List<VulnerablePackage> |
getVulnerablePackages()
The packages that this vulnerability impacts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
void |
setReferenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
void |
setRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
|
void |
setSource(String source)
The source of the vulnerability information.
|
void |
setSourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
|
void |
setVendorCreatedAt(Date vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
|
void |
setVendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
|
void |
setVendorUpdatedAt(Date vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
|
void |
setVulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
|
void |
setVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
|
String |
toString()
Returns a string representation of this object.
|
PackageVulnerabilityDetails |
withCvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
PackageVulnerabilityDetails |
withCvss(CvssScore... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
|
PackageVulnerabilityDetails |
withReferenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
PackageVulnerabilityDetails |
withReferenceUrls(String... referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.
|
PackageVulnerabilityDetails |
withRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
|
PackageVulnerabilityDetails |
withRelatedVulnerabilities(String... relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
|
PackageVulnerabilityDetails |
withSource(String source)
The source of the vulnerability information.
|
PackageVulnerabilityDetails |
withSourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
|
PackageVulnerabilityDetails |
withVendorCreatedAt(Date vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
|
PackageVulnerabilityDetails |
withVendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
|
PackageVulnerabilityDetails |
withVendorUpdatedAt(Date vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
|
PackageVulnerabilityDetails |
withVulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
|
PackageVulnerabilityDetails |
withVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
|
PackageVulnerabilityDetails |
withVulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages that this vulnerability impacts.
|
public void setVulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
vulnerabilityId
- A unique identifier for this vulnerability.public String getVulnerabilityId()
A unique identifier for this vulnerability.
public PackageVulnerabilityDetails withVulnerabilityId(String vulnerabilityId)
A unique identifier for this vulnerability.
vulnerabilityId
- A unique identifier for this vulnerability.public List<VulnerablePackage> getVulnerablePackages()
The packages that this vulnerability impacts.
public void setVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
vulnerablePackages
- The packages that this vulnerability impacts.public PackageVulnerabilityDetails withVulnerablePackages(VulnerablePackage... vulnerablePackages)
The packages that this vulnerability impacts.
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 that this vulnerability impacts.public PackageVulnerabilityDetails withVulnerablePackages(Collection<VulnerablePackage> vulnerablePackages)
The packages that this vulnerability impacts.
vulnerablePackages
- The packages that this vulnerability impacts.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 List<CvssScore> getCvss()
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
public void setCvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
cvss
- CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.public PackageVulnerabilityDetails withCvss(CvssScore... cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
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
- CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.public PackageVulnerabilityDetails withCvss(Collection<CvssScore> cvss)
CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.
cvss
- CVSS scores for one or more vulnerabilities that Amazon Inspector identified for a package.public List<String> getRelatedVulnerabilities()
Vulnerabilities that are often related to the findings for the package.
public void setRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
relatedVulnerabilities
- Vulnerabilities that are often related to the findings for the package.public PackageVulnerabilityDetails withRelatedVulnerabilities(String... relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
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
- Vulnerabilities that are often related to the findings for the package.public PackageVulnerabilityDetails withRelatedVulnerabilities(Collection<String> relatedVulnerabilities)
Vulnerabilities that are often related to the findings for the package.
relatedVulnerabilities
- Vulnerabilities that are often related to the findings for the package.public void setSourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
sourceUrl
- A link to the source of the vulnerability information.public String getSourceUrl()
A link to the source of the vulnerability information.
public PackageVulnerabilityDetails withSourceUrl(String sourceUrl)
A link to the source of the vulnerability information.
sourceUrl
- A link to the source of the vulnerability information.public void setVendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
vendorSeverity
- The severity that the vendor assigned to this vulnerability type.public String getVendorSeverity()
The severity that the vendor assigned to this vulnerability type.
public PackageVulnerabilityDetails withVendorSeverity(String vendorSeverity)
The severity that the vendor assigned to this vulnerability type.
vendorSeverity
- The severity that the vendor assigned to this vulnerability type.public void setVendorCreatedAt(Date vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
vendorCreatedAt
- The date and time when this vulnerability was first added to the vendor's database.public Date getVendorCreatedAt()
The date and time when this vulnerability was first added to the vendor's database.
public PackageVulnerabilityDetails withVendorCreatedAt(Date vendorCreatedAt)
The date and time when this vulnerability was first added to the vendor's database.
vendorCreatedAt
- The date and time when this vulnerability was first added to the vendor's database.public void setVendorUpdatedAt(Date vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
vendorUpdatedAt
- The date and time when the vendor last updated this vulnerability in their database.public Date getVendorUpdatedAt()
The date and time when the vendor last updated this vulnerability in their database.
public PackageVulnerabilityDetails withVendorUpdatedAt(Date vendorUpdatedAt)
The date and time when the vendor last updated this vulnerability in their database.
vendorUpdatedAt
- The date and time when the vendor last updated this vulnerability in their database.public List<String> getReferenceUrls()
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
public void setReferenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
referenceUrls
- Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.public PackageVulnerabilityDetails withReferenceUrls(String... referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
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
- Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.public PackageVulnerabilityDetails withReferenceUrls(Collection<String> referenceUrls)
Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the package.
referenceUrls
- Links to web pages that contain details about the vulnerabilities that Amazon Inspector identified for the
package.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.