Package com.oracle.bmc.dblm.model
Class PatchRecommendationSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dblm.model.PatchRecommendationSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20240102") public final class PatchRecommendationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTotal count summary of patch recommendations for databases.
 Note: Objects should always be created or deserialized using thePatchRecommendationSummary.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 thePatchRecommendationSummary.Builder, which maintain a set of all explicitly set fields calledPatchRecommendationSummary.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 classPatchRecommendationSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description PatchRecommendationSummary(Integer total, Integer upToDate, Integer patchAvailable)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchRecommendationSummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetPatchAvailable()Number of databases pending to be updated.IntegergetTotal()Total number of databases pending to be updated and/or with latest patches.IntegergetUpToDate()Number of databases with latest patches.inthashCode()PatchRecommendationSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
PatchRecommendationSummary@Deprecated @ConstructorProperties({"total","upToDate","patchAvailable"}) public PatchRecommendationSummary(Integer total, Integer upToDate, Integer patchAvailable) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static PatchRecommendationSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic PatchRecommendationSummary.Builder toBuilder() 
 - 
getTotalpublic Integer getTotal() Total number of databases pending to be updated and/or with latest patches.- Returns:
- the value
 
 - 
getUpToDatepublic Integer getUpToDate() Number of databases with latest patches.- Returns:
- the value
 
 - 
getPatchAvailablepublic Integer getPatchAvailable() Number of databases pending to be updated.- 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
 
 
- 
 
-