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 Summary
Nested Classes Modifier and Type Class Description static classVulnerabilityResourceSummary.Builder
-
Constructor Summary
Constructors 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 Summary
All 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
-
builder
public static VulnerabilityResourceSummary.Builder builder()
Create a new builder.
-
toBuilder
public VulnerabilityResourceSummary.Builder toBuilder()
-
getId
public String getId()
The resource ID for this resource.- Returns:
- the value
-
getName
public String getName()
The name of the resource.- Returns:
- the value
-
getVersion
public String getVersion()
A string representing the version of the resource.- Returns:
- the value
-
getRelease
public String getRelease()
A string representing the release of the resource.- Returns:
- the value
-
getPlatform
public String getPlatform()
A string representing the platform of the resource.- Returns:
- the value
-
getTimeConfigCollected
public Date getTimeConfigCollected()
Time when the latest configuration collection happened.- Returns:
- the value
-
getTimeScanEnded
public Date getTimeScanEnded()
Time when the latest scan happened for the resource.- Returns:
- the value
-
getImageId
public String getImageId()
Identifier for the resource is subscribed to.- Returns:
- the value
-
getSubscribedImage
public String getSubscribedImage()
Image the resource is subscribed to.- Returns:
- the value
-
getMetricErrors
public List<MetricError> getMetricErrors()
Metric errors.- Returns:
- the value
-
getVulnerabilitiesSummary
public Object getVulnerabilitiesSummary()
Summary of the resources that are registered and may or may not have vulnerabilities.- Returns:
- the value
-
getPatchRecommendationsSummary
public Object getPatchRecommendationsSummary()
Summary of the patch recommendations for databases.- Returns:
- the value
-
getPatchRecommendationsDetails
public List<PatchRecommendationsDetailsSummary> getPatchRecommendationsDetails()
List of the patch recommendations for databases- 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
-
-