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.ExplicitlySetBmcModel
The 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 class
VulnerabilityResourceSummary.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.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<ChildPdb>
getChildPdbs()
PDBs for a CDB.String
getId()
The resource ID for this resource.String
getImageId()
Identifier for the resource is subscribed to.List<MetricError>
getMetricErrors()
Metric errors.String
getName()
The name of the resource.List<PatchRecommendationsDetailsSummary>
getPatchRecommendationsDetails()
List of the patch recommendations for databasesObject
getPatchRecommendationsSummary()
Summary of the patch recommendations for databases.String
getPlatform()
A string representing the platform of the resource.String
getRelease()
A string representing the release of the resource.String
getSubscribedImage()
Image the resource is subscribed to.Date
getTimeConfigCollected()
Time when the latest configuration collection happened.Date
getTimeScanEnded()
Time when the latest scan happened for the resource.String
getVersion()
A string representing the version of the resource.Object
getVulnerabilitiesSummary()
Summary of the resources that are registered and may or may not have vulnerabilities.int
hashCode()
VulnerabilityResourceSummary.Builder
toBuilder()
String
toString()
String
toString(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:
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
-
-