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 SummaryNested Classes Modifier and Type Class Description static classErratum.Builder
 - 
Constructor SummaryConstructors 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 SummaryAll 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- 
builderpublic static Erratum.Builder builder() Create a new builder.
 - 
toBuilderpublic Erratum.Builder toBuilder() 
 - 
getNamepublic String getName() Advisory name.- Returns:
- the value
 
 - 
getSynopsispublic String getSynopsis() Summary description of the erratum.- Returns:
- the value
 
 - 
getTimeIssuedpublic Date getTimeIssued() The date and time the erratum was issued (in RFC 3339 format).- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() Details describing the erratum.- Returns:
- the value
 
 - 
getTimeUpdatedpublic Date getTimeUpdated() The date and time the erratum was updated (in RFC 3339 format).- Returns:
- the value
 
 - 
getClassificationTypepublic 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
 
 - 
getAdvisoryTypepublic AdvisoryTypes getAdvisoryType() The advisory type of the erratum.- Returns:
- the value
 
 - 
getFrompublic String getFrom() Information specifying from where the erratum was release.- Returns:
- the value
 
 - 
getSolutionpublic String getSolution() Information describing how the erratum can be resolved.- Returns:
- the value
 
 - 
getReferencespublic String getReferences() Information describing how to find more information about.the erratum. - Returns:
- the value
 
 - 
getRelatedCvespublic List<String> getRelatedCves() List of CVEs applicable to this erratum.- Returns:
- the value
 
 - 
getRepositoriespublic List<String> getRepositories() List of repository identifiers.- Returns:
- the value
 
 - 
getPackagespublic List<SoftwarePackageSummary> getPackages() List of packages affected by this erratum.- Returns:
- the value
 
 - 
getOsFamiliespublic List<OsFamily> getOsFamilies() List of affected OS families.- Returns:
- the value
 
 - 
getAdvisorySeveritypublic AdvisorySeverity getAdvisorySeverity() The severity for a security advisory, otherwise, null.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-