Package com.oracle.bmc.dblm.model
Class VulnerabilityResourceSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.dblm.model.VulnerabilityResourceSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20240102") public final class VulnerabilityResourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe assessed Resources.
 Note: Objects should always be created or deserialized using theVulnerabilityResourceSummary.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 theVulnerabilityResourceSummary.Builder, which maintain a set of all explicitly set fields calledVulnerabilityResourceSummary.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 classVulnerabilityResourceSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description VulnerabilityResourceSummary(String id, String name, String version, String release, String platform, Date timeConfigCollected, Date timeScanEnded, String imageId, String subscribedImage, List<MetricError> metricErrors, List<ChildPdb> childPdbs, Object vulnerabilitiesSummary, Object patchRecommendationsSummary, List<PatchRecommendationsDetailsSummary> patchRecommendationsDetails)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulnerabilityResourceSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<ChildPdb>getChildPdbs()PDBs for a CDB.StringgetId()The resource ID for this resource.StringgetImageId()Identifier for the resource is subscribed to.List<MetricError>getMetricErrors()Metric errors.StringgetName()The name of the resource.List<PatchRecommendationsDetailsSummary>getPatchRecommendationsDetails()List of the patch recommendations for databasesObjectgetPatchRecommendationsSummary()Summary of the patch recommendations for databases.StringgetPlatform()A string representing the platform of the resource.StringgetRelease()A string representing the release of the resource.StringgetSubscribedImage()Image the resource is subscribed to.DategetTimeConfigCollected()Time when the latest configuration collection happened.DategetTimeScanEnded()Time when the latest scan happened for the resource.StringgetVersion()A string representing the version of the resource.ObjectgetVulnerabilitiesSummary()Summary of the resources that are registered and may or may not have vulnerabilities.inthashCode()VulnerabilityResourceSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
VulnerabilityResourceSummary@Deprecated @ConstructorProperties({"id","name","version","release","platform","timeConfigCollected","timeScanEnded","imageId","subscribedImage","metricErrors","childPdbs","vulnerabilitiesSummary","patchRecommendationsSummary","patchRecommendationsDetails"}) public VulnerabilityResourceSummary(String id, String name, String version, String release, String platform, Date timeConfigCollected, Date timeScanEnded, String imageId, String subscribedImage, List<MetricError> metricErrors, List<ChildPdb> childPdbs, Object vulnerabilitiesSummary, Object patchRecommendationsSummary, List<PatchRecommendationsDetailsSummary> patchRecommendationsDetails) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static VulnerabilityResourceSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic VulnerabilityResourceSummary.Builder toBuilder() 
 - 
getIdpublic String getId() The resource ID for this resource.- Returns:
- the value
 
 - 
getNamepublic String getName() The name of the resource.- Returns:
- the value
 
 - 
getVersionpublic String getVersion() A string representing the version of the resource.- Returns:
- the value
 
 - 
getReleasepublic String getRelease() A string representing the release of the resource.- Returns:
- the value
 
 - 
getPlatformpublic String getPlatform() A string representing the platform of the resource.- Returns:
- the value
 
 - 
getTimeConfigCollectedpublic Date getTimeConfigCollected() Time when the latest configuration collection happened.- Returns:
- the value
 
 - 
getTimeScanEndedpublic Date getTimeScanEnded() Time when the latest scan happened for the resource.- Returns:
- the value
 
 - 
getImageIdpublic String getImageId() Identifier for the resource is subscribed to.- Returns:
- the value
 
 - 
getSubscribedImagepublic String getSubscribedImage() Image the resource is subscribed to.- Returns:
- the value
 
 - 
getMetricErrorspublic List<MetricError> getMetricErrors() Metric errors.- Returns:
- the value
 
 - 
getVulnerabilitiesSummarypublic Object getVulnerabilitiesSummary() Summary of the resources that are registered and may or may not have vulnerabilities.- Returns:
- the value
 
 - 
getPatchRecommendationsSummarypublic Object getPatchRecommendationsSummary() Summary of the patch recommendations for databases.- Returns:
- the value
 
 - 
getPatchRecommendationsDetailspublic List<PatchRecommendationsDetailsSummary> getPatchRecommendationsDetails() List of the patch recommendations for databases- 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
 
 
- 
 
-