Class ContainerScanResultProblem
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vulnerabilityscanning.model.ContainerScanResultProblem
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public final class ContainerScanResultProblem extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelA problem found in a container scan
 Note: Objects should always be created or deserialized using theContainerScanResultProblem.Builder.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the ContainerScanResultProblem.Builder, which maintain a set of all explicitly set fields calledContainerScanResultProblem.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classContainerScanResultProblem.Builder
 - 
Constructor SummaryConstructors Constructor Description ContainerScanResultProblem(String name, String description, ScanResultProblemSeverity severity, ScanResultVulnerabilityState state, String cveReference, Date timeFirstDetected, Date timeLastDetected, List<Package> vulnerablePackages)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerScanResultProblem.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCveReference()Reference to problem MITRE CVE IDStringgetDescription()Problem descriptionStringgetName()Name of the problemScanResultProblemSeveritygetSeverity()Problem severityScanResultVulnerabilityStategetState()State of the vulnerabilityDategetTimeFirstDetected()Date of scan result that first reported the vulnerabilityDategetTimeLastDetected()Date of scan result that most recently reported the vulnerabilityList<Package>getVulnerablePackages()Packages in which the problem is detectedinthashCode()ContainerScanResultProblem.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ContainerScanResultProblem@Deprecated @ConstructorProperties({"name","description","severity","state","cveReference","timeFirstDetected","timeLastDetected","vulnerablePackages"}) public ContainerScanResultProblem(String name, String description, ScanResultProblemSeverity severity, ScanResultVulnerabilityState state, String cveReference, Date timeFirstDetected, Date timeLastDetected, List<Package> vulnerablePackages) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ContainerScanResultProblem.Builder builder() Create a new builder.
 - 
toBuilderpublic ContainerScanResultProblem.Builder toBuilder() 
 - 
getNamepublic String getName() Name of the problem- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Problem description- Returns:
- the value
 
 - 
getSeveritypublic ScanResultProblemSeverity getSeverity() Problem severity- Returns:
- the value
 
 - 
getStatepublic ScanResultVulnerabilityState getState() State of the vulnerability- Returns:
- the value
 
 - 
getCveReferencepublic String getCveReference() Reference to problem MITRE CVE ID- Returns:
- the value
 
 - 
getTimeFirstDetectedpublic Date getTimeFirstDetected() Date of scan result that first reported the vulnerability- Returns:
- the value
 
 - 
getTimeLastDetectedpublic Date getTimeLastDetected() Date of scan result that most recently reported the vulnerability- Returns:
- the value
 
 - 
getVulnerablePackagespublic List<Package> getVulnerablePackages() Packages in which the problem is detected- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-