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.ExplicitlySetBmcModelDetails 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 classCveDetails.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCveReference()CVE ID.StringgetCvss3()CVSS 3 Score.StringgetDescription()CVE description.StringgetExploitable()Can this vulnerability be exploited.StringgetImpact()Impact on resource if this vulnerability is exploited.StringgetPatchable()Can this vulnerability be patched.StringgetReferenceUrl()Reference link to know more about this vulnerability.StringgetRelatedCveReference()ID of related CVE, if applicable.StringgetSolution()Recommended solution to fix this vulnerability.StringgetThreat()Threat this item poses to resource.DategetTimePublished()Date/time the CVE was published.DategetTimeUpdated()Date/time the CVE was last modified.StringgetTitle()Vulnerability title.inthashCode()CveDetails.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-