@Generated(value="OracleSDKGenerator", comments="API Version: 20240102") public final class DblmVulnerability extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A Dblm Vulnerability is a description of a Dblm Vulnerability.
To use any of the API operations, you must be authorized in an IAM policy. If you're not
authorized, talk to an administrator. If you're an administrator who needs to write policies to
give users access, see [Getting Started with
Policies](https://docs.cloud.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
Note: Objects should always be created or deserialized using the DblmVulnerability.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 DblmVulnerability.Builder
, which maintain a
set of all explicitly set fields called DblmVulnerability.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 |
DblmVulnerability.Builder |
static class |
DblmVulnerability.LifecycleState
The current state of the feature.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DblmVulnerability(String compartmentId,
List<ResourceInfo> resources,
String message,
Date timeEnabled,
DblmVulnerability.LifecycleState lifecycleState,
Object resourcesSummary,
Object vulnerabilitiesSummary,
Object patchRecommendationsSummary,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DblmVulnerability.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment Identifier.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
DblmVulnerability.LifecycleState |
getLifecycleState()
The current state of the feature.
|
String |
getMessage()
A message describing the status of the feature’s state.
|
Object |
getPatchRecommendationsSummary()
Summary of the patch recommendations for databases.
|
List<ResourceInfo> |
getResources()
Resources objects.
|
Object |
getResourcesSummary()
Summary of dblm registered and unregistered resources.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Date |
getTimeEnabled()
The time the the Vulnerability was enabled.
|
Object |
getVulnerabilitiesSummary()
Summary of vulnerabilities found in registered resources grouped by severity.
|
int |
hashCode() |
DblmVulnerability.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"compartmentId","resources","message","timeEnabled","lifecycleState","resourcesSummary","vulnerabilitiesSummary","patchRecommendationsSummary","freeformTags","systemTags"}) public DblmVulnerability(String compartmentId, List<ResourceInfo> resources, String message, Date timeEnabled, DblmVulnerability.LifecycleState lifecycleState, Object resourcesSummary, Object vulnerabilitiesSummary, Object patchRecommendationsSummary, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags)
public static DblmVulnerability.Builder builder()
Create a new builder.
public DblmVulnerability.Builder toBuilder()
public String getCompartmentId()
Compartment Identifier.
public List<ResourceInfo> getResources()
Resources objects.
public String getMessage()
A message describing the status of the feature’s state.
public Date getTimeEnabled()
The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
public DblmVulnerability.LifecycleState getLifecycleState()
The current state of the feature.
public Object getResourcesSummary()
Summary of dblm registered and unregistered resources.
public Object getVulnerabilitiesSummary()
Summary of vulnerabilities found in registered resources grouped by severity.
public Object getPatchRecommendationsSummary()
Summary of the patch recommendations for databases.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
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.