Class Erratum
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.osmanagement.model.Erratum
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public final class Erratum extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details about the 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 class
Erratum.Builder
-
Constructor Summary
Constructors Constructor Description Erratum(String name, String id, String compartmentId, String synopsis, String issued, String description, String updated, UpdateTypes advisoryType, String from, String solution, String references, List<Id> affectedInstances, List<String> relatedCves, List<Id> softwareSources, List<SoftwarePackageSummary> packages)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Erratum.Builder
builder()
Create a new builder.boolean
equals(Object o)
UpdateTypes
getAdvisoryType()
Type of the erratum.List<Id>
getAffectedInstances()
list of managed instances to this erratumString
getCompartmentId()
OCID for the Compartment.String
getDescription()
Details describing the erratum.String
getFrom()
Information specifying from where the erratum was release.String
getId()
OCID for the Erratum.String
getIssued()
date the erratum was issuedString
getName()
Advisory nameList<SoftwarePackageSummary>
getPackages()
list of Packages affected by this erratumString
getReferences()
Information describing how to find more information about the erratum.List<String>
getRelatedCves()
list of CVEs applicable to this erratumList<Id>
getSoftwareSources()
list of Software SourcesString
getSolution()
Information describing how the erratum can be resolved.String
getSynopsis()
Summary description of the erratum.String
getUpdated()
most recent date the erratum was updatedint
hashCode()
Erratum.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
Erratum
@Deprecated @ConstructorProperties({"name","id","compartmentId","synopsis","issued","description","updated","advisoryType","from","solution","references","affectedInstances","relatedCves","softwareSources","packages"}) public Erratum(String name, String id, String compartmentId, String synopsis, String issued, String description, String updated, UpdateTypes advisoryType, String from, String solution, String references, List<Id> affectedInstances, List<String> relatedCves, List<Id> softwareSources, List<SoftwarePackageSummary> packages)
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
-
getId
public String getId()
OCID for the Erratum.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
OCID for the Compartment.- Returns:
- the value
-
getSynopsis
public String getSynopsis()
Summary description of the erratum.- Returns:
- the value
-
getIssued
public String getIssued()
date the erratum was issued- Returns:
- the value
-
getDescription
public String getDescription()
Details describing the erratum.- Returns:
- the value
-
getUpdated
public String getUpdated()
most recent date the erratum was updated- Returns:
- the value
-
getAdvisoryType
public UpdateTypes getAdvisoryType()
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
-
getAffectedInstances
public List<Id> getAffectedInstances()
list of managed instances to this erratum- Returns:
- the value
-
getRelatedCves
public List<String> getRelatedCves()
list of CVEs applicable to this erratum- Returns:
- the value
-
getPackages
public List<SoftwarePackageSummary> getPackages()
list of Packages affected by this erratum- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-