@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class Erratum extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
An object that defines an erratum..
Note: Objects should always be created or deserialized using the Erratum.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 Erratum.Builder
, which maintain a
set of all explicitly set fields called Erratum.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 |
Erratum.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Erratum(String name,
String synopsis,
Date timeIssued,
String description,
Date timeUpdated,
ClassificationTypes classificationType,
AdvisoryTypes advisoryType,
String from,
String solution,
String references,
List<String> relatedCves,
List<String> repositories,
List<SoftwarePackageSummary> packages,
List<OsFamily> osFamilies,
AdvisorySeverity advisorySeverity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Erratum.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
AdvisorySeverity |
getAdvisorySeverity()
The severity for a security advisory, otherwise, null.
|
AdvisoryTypes |
getAdvisoryType()
The advisory type of the erratum.
|
ClassificationTypes |
getClassificationType()
Type of the erratum.
|
String |
getDescription()
Details describing the erratum.
|
String |
getFrom()
Information specifying from where the erratum was release.
|
String |
getName()
Advisory name.
|
List<OsFamily> |
getOsFamilies()
List of affected OS families.
|
List<SoftwarePackageSummary> |
getPackages()
List of packages affected by this erratum.
|
String |
getReferences()
Information describing how to find more information about.
|
List<String> |
getRelatedCves()
List of CVEs applicable to this erratum.
|
List<String> |
getRepositories()
List of repository identifiers.
|
String |
getSolution()
Information describing how the erratum can be resolved.
|
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() |
Erratum.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","synopsis","timeIssued","description","timeUpdated","classificationType","advisoryType","from","solution","references","relatedCves","repositories","packages","osFamilies","advisorySeverity"}) public Erratum(String name, String synopsis, Date timeIssued, String description, Date timeUpdated, ClassificationTypes classificationType, AdvisoryTypes advisoryType, String from, String solution, String references, List<String> relatedCves, List<String> repositories, List<SoftwarePackageSummary> packages, List<OsFamily> osFamilies, AdvisorySeverity advisorySeverity)
public static Erratum.Builder builder()
Create a new builder.
public Erratum.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 String getDescription()
Details describing the erratum.
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 AdvisoryTypes getAdvisoryType()
The advisory type of the erratum.
public String getFrom()
Information specifying from where the erratum was release.
public String getSolution()
Information describing how the erratum can be resolved.
public String getReferences()
Information describing how to find more information about. the erratum.
public List<String> getRelatedCves()
List of CVEs applicable to this erratum.
public List<String> getRepositories()
List of repository identifiers.
public List<SoftwarePackageSummary> getPackages()
List of packages affected by this erratum.
public List<OsFamily> getOsFamilies()
List of affected OS families.
public AdvisorySeverity getAdvisorySeverity()
The severity for a security advisory, otherwise, null.
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.