@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 the VulnerabilityResourceSummary.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 the VulnerabilityResourceSummary.Builder
, which maintain a
set of all explicitly set fields called VulnerabilityResourceSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
VulnerabilityResourceSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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 databases
|
Object |
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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static VulnerabilityResourceSummary.Builder builder()
Create a new builder.
public VulnerabilityResourceSummary.Builder toBuilder()
public String getId()
The resource ID for this resource.
public String getName()
The name of the resource.
public String getVersion()
A string representing the version of the resource.
public String getRelease()
A string representing the release of the resource.
public String getPlatform()
A string representing the platform of the resource.
public Date getTimeConfigCollected()
Time when the latest configuration collection happened.
public Date getTimeScanEnded()
Time when the latest scan happened for the resource.
public String getImageId()
Identifier for the resource is subscribed to.
public String getSubscribedImage()
Image the resource is subscribed to.
public List<MetricError> getMetricErrors()
Metric errors.
public Object getVulnerabilitiesSummary()
Summary of the resources that are registered and may or may not have vulnerabilities.
public Object getPatchRecommendationsSummary()
Summary of the patch recommendations for databases.
public List<PatchRecommendationsDetailsSummary> getPatchRecommendationsDetails()
List of the patch recommendations for databases
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2025. All rights reserved.