Class RecommendedPatchSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetappsmanagement.model.RecommendedPatchSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public final class RecommendedPatchSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary information about an recommended patches.
Note: Objects should always be created or deserialized using theRecommendedPatchSummary.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 theRecommendedPatchSummary.Builder, which maintain a set of all explicitly set fields calledRecommendedPatchSummary.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 classRecommendedPatchSummary.Builderstatic classRecommendedPatchSummary.PatchLevelPatch Level.
-
Constructor Summary
Constructors Constructor Description RecommendedPatchSummary(String patchId, String patchName, String patchDescription, Date timeReleased, String patchType, PatchSeverity severity, RecommendedPatchSummary.PatchLevel patchLevel)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendedPatchSummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPatchDescription()Description of the patchStringgetPatchId()The OCID of the patch.RecommendedPatchSummary.PatchLevelgetPatchLevel()Patch Level.StringgetPatchName()Name of the patchStringgetPatchType()Description of the patchPatchSeveritygetSeverity()Patch Severity.DategetTimeReleased()Date on which the patch was releasedinthashCode()RecommendedPatchSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
RecommendedPatchSummary
@Deprecated @ConstructorProperties({"patchId","patchName","patchDescription","timeReleased","patchType","severity","patchLevel"}) public RecommendedPatchSummary(String patchId, String patchName, String patchDescription, Date timeReleased, String patchType, PatchSeverity severity, RecommendedPatchSummary.PatchLevel patchLevel)
Deprecated.
-
-
Method Detail
-
builder
public static RecommendedPatchSummary.Builder builder()
Create a new builder.
-
toBuilder
public RecommendedPatchSummary.Builder toBuilder()
-
getPatchId
public String getPatchId()
The OCID of the patch.- Returns:
- the value
-
getPatchName
public String getPatchName()
Name of the patch- Returns:
- the value
-
getPatchDescription
public String getPatchDescription()
Description of the patch- Returns:
- the value
-
getTimeReleased
public Date getTimeReleased()
Date on which the patch was released- Returns:
- the value
-
getPatchType
public String getPatchType()
Description of the patch- Returns:
- the value
-
getSeverity
public PatchSeverity getSeverity()
Patch Severity.- Returns:
- the value
-
getPatchLevel
public RecommendedPatchSummary.PatchLevel getPatchLevel()
Patch Level.- 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
-
-