Class Erratum
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagementhub.model.Erratum
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class Erratum extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAn object that defines an erratum..
Note: Objects should always be created or deserialized using theErratum.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 theErratum.Builder, which maintain a set of all explicitly set fields calledErratum.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 classErratum.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Erratum.Builderbuilder()Create a new builder.booleanequals(Object o)AdvisorySeveritygetAdvisorySeverity()The severity for a security advisory, otherwise, null.AdvisoryTypesgetAdvisoryType()The advisory type of the erratum.ClassificationTypesgetClassificationType()Type of the erratum.StringgetDescription()Details describing the erratum.StringgetFrom()Information specifying from where the erratum was release.StringgetName()Advisory name.List<OsFamily>getOsFamilies()List of affected OS families.List<SoftwarePackageSummary>getPackages()List of packages affected by this erratum.StringgetReferences()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.StringgetSolution()Information describing how the erratum can be resolved.StringgetSynopsis()Summary description of the erratum.DategetTimeIssued()The date and time the erratum was issued (in RFC 3339 format).DategetTimeUpdated()The date and time the erratum was updated (in RFC 3339 format).inthashCode()Erratum.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Erratum
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static Erratum.Builder builder()
Create a new builder.
-
toBuilder
public Erratum.Builder toBuilder()
-
getName
public String getName()
Advisory name.- Returns:
- the value
-
getSynopsis
public String getSynopsis()
Summary description of the erratum.- Returns:
- the value
-
getTimeIssued
public Date getTimeIssued()
The date and time the erratum was issued (in RFC 3339 format).- Returns:
- the value
-
getDescription
public String getDescription()
Details describing the erratum.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The date and time the erratum was updated (in RFC 3339 format).- Returns:
- the value
-
getClassificationType
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.
- Returns:
- the value
-
getAdvisoryType
public AdvisoryTypes getAdvisoryType()
The advisory type of the erratum.- Returns:
- the value
-
getFrom
public String getFrom()
Information specifying from where the erratum was release.- Returns:
- the value
-
getSolution
public String getSolution()
Information describing how the erratum can be resolved.- Returns:
- the value
-
getReferences
public String getReferences()
Information describing how to find more information about.the erratum.
- Returns:
- the value
-
getRelatedCves
public List<String> getRelatedCves()
List of CVEs applicable to this erratum.- Returns:
- the value
-
getRepositories
public List<String> getRepositories()
List of repository identifiers.- Returns:
- the value
-
getPackages
public List<SoftwarePackageSummary> getPackages()
List of packages affected by this erratum.- Returns:
- the value
-
getOsFamilies
public List<OsFamily> getOsFamilies()
List of affected OS families.- Returns:
- the value
-
getAdvisorySeverity
public AdvisorySeverity getAdvisorySeverity()
The severity for a security advisory, otherwise, null.- 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
-
-