@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class ErratumSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Provides summary information for an erratum. An erratum is an important software change which can
include security advisories, bug fixes, or enhancements.
Note: Objects should always be created or deserialized using the ErratumSummary.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 ErratumSummary.Builder
, which maintain a
set of all explicitly set fields called ErratumSummary.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 |
ErratumSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ErratumSummary(String name,
String synopsis,
Date timeIssued,
Date timeUpdated,
ClassificationTypes classificationType,
List<String> relatedCves,
List<OsFamily> osFamilies,
AdvisorySeverity advisorySeverity,
AdvisoryTypes advisoryType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ErratumSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AdvisorySeverity |
getAdvisorySeverity()
The severity advisory.
|
AdvisoryTypes |
getAdvisoryType()
The advisory type of the erratum.
|
ClassificationTypes |
getClassificationType()
Type of the erratum.
|
String |
getName()
Advisory name.
|
List<OsFamily> |
getOsFamilies()
List of affected OS families.
|
List<String> |
getRelatedCves()
List of CVEs applicable to this erratum.
|
String |
getSynopsis()
Summary description of the erratum.
|
Date |
getTimeIssued()
The date and time the erratum was issued (in RFC 3339
format).
|
Date |
getTimeUpdated()
The date and time the erratum was updated (in RFC 3339
format).
|
int |
hashCode() |
ErratumSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","synopsis","timeIssued","timeUpdated","classificationType","relatedCves","osFamilies","advisorySeverity","advisoryType"}) public ErratumSummary(String name, String synopsis, Date timeIssued, Date timeUpdated, ClassificationTypes classificationType, List<String> relatedCves, List<OsFamily> osFamilies, AdvisorySeverity advisorySeverity, AdvisoryTypes advisoryType)
public static ErratumSummary.Builder builder()
Create a new builder.
public ErratumSummary.Builder toBuilder()
public String getName()
Advisory name.
public String getSynopsis()
Summary description of the erratum.
public Date getTimeIssued()
The date and time the erratum was issued (in RFC 3339 format).
public Date getTimeUpdated()
The date and time the erratum was updated (in RFC 3339 format).
public ClassificationTypes getClassificationType()
Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
public List<String> getRelatedCves()
List of CVEs applicable to this erratum.
public List<OsFamily> getOsFamilies()
List of affected OS families.
public AdvisorySeverity getAdvisorySeverity()
The severity advisory. Only valid for security type advisories.
public AdvisoryTypes getAdvisoryType()
The advisory type of the erratum.
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.