Class 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 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).
    • Method Detail

      • 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
      • getChildPdbs

        public List<ChildPdb> getChildPdbs()
        PDBs for a CDB.
        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
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel