Class CveDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.vulnerabilityscanning.model.CveDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210215") public final class CveDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details on a CVE.
Note: Objects should always be created or deserialized using theCveDetails.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 theCveDetails.Builder
, which maintain a set of all explicitly set fields calledCveDetails.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 Summary
Nested Classes Modifier and Type Class Description static class
CveDetails.Builder
-
Constructor Summary
Constructors Constructor Description CveDetails(String cveReference, String title, String description, String relatedCveReference, String cvss3, Date timePublished, Date timeUpdated, String threat, String impact, String solution, String patchable, String exploitable, String referenceUrl)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CveDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCveReference()
CVE ID.String
getCvss3()
CVSS 3 Score.String
getDescription()
CVE description.String
getExploitable()
Can this vulnerability be exploited.String
getImpact()
Impact on resource if this vulnerability is exploited.String
getPatchable()
Can this vulnerability be patched.String
getReferenceUrl()
Reference link to know more about this vulnerability.String
getRelatedCveReference()
ID of related CVE, if applicable.String
getSolution()
Recommended solution to fix this vulnerability.String
getThreat()
Threat this item poses to resource.Date
getTimePublished()
Date/time the CVE was published.Date
getTimeUpdated()
Date/time the CVE was last modified.String
getTitle()
Vulnerability title.int
hashCode()
CveDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
CveDetails
@Deprecated @ConstructorProperties({"cveReference","title","description","relatedCveReference","cvss3","timePublished","timeUpdated","threat","impact","solution","patchable","exploitable","referenceUrl"}) public CveDetails(String cveReference, String title, String description, String relatedCveReference, String cvss3, Date timePublished, Date timeUpdated, String threat, String impact, String solution, String patchable, String exploitable, String referenceUrl)
Deprecated.
-
-
Method Detail
-
builder
public static CveDetails.Builder builder()
Create a new builder.
-
toBuilder
public CveDetails.Builder toBuilder()
-
getCveReference
public String getCveReference()
CVE ID.- Returns:
- the value
-
getTitle
public String getTitle()
Vulnerability title.- Returns:
- the value
-
getDescription
public String getDescription()
CVE description.- Returns:
- the value
-
getRelatedCveReference
public String getRelatedCveReference()
ID of related CVE, if applicable.- Returns:
- the value
-
getCvss3
public String getCvss3()
CVSS 3 Score.- Returns:
- the value
-
getTimePublished
public Date getTimePublished()
Date/time the CVE was published.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Date/time the CVE was last modified.- Returns:
- the value
-
getThreat
public String getThreat()
Threat this item poses to resource.- Returns:
- the value
-
getImpact
public String getImpact()
Impact on resource if this vulnerability is exploited.- Returns:
- the value
-
getSolution
public String getSolution()
Recommended solution to fix this vulnerability.- Returns:
- the value
-
getPatchable
public String getPatchable()
Can this vulnerability be patched.- Returns:
- the value
-
getExploitable
public String getExploitable()
Can this vulnerability be exploited.- Returns:
- the value
-
getReferenceUrl
public String getReferenceUrl()
Reference link to know more about this vulnerability.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-