@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 the CveDetails.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 CveDetails.Builder
, which maintain a
set of all explicitly set fields called CveDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CveDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static CveDetails.Builder builder()
Create a new builder.
public CveDetails.Builder toBuilder()
public String getCveReference()
CVE ID.
public String getTitle()
Vulnerability title.
public String getDescription()
CVE description.
public String getRelatedCveReference()
ID of related CVE, if applicable.
public String getCvss3()
CVSS 3 Score.
public Date getTimePublished()
Date/time the CVE was published.
public Date getTimeUpdated()
Date/time the CVE was last modified.
public String getThreat()
Threat this item poses to resource.
public String getImpact()
Impact on resource if this vulnerability is exploited.
public String getSolution()
Recommended solution to fix this vulnerability.
public String getPatchable()
Can this vulnerability be patched.
public String getExploitable()
Can this vulnerability be exploited.
public String getReferenceUrl()
Reference link to know more about this vulnerability.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.