@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class FindingAnalyticsDimensions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The scope of analytics data.
Note: Objects should always be created or deserialized using the FindingAnalyticsDimensions.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 FindingAnalyticsDimensions.Builder
, which maintain a
set of all explicitly set fields called FindingAnalyticsDimensions.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 |
FindingAnalyticsDimensions.Builder |
static class |
FindingAnalyticsDimensions.Severity
The severity (risk level) of the finding.
|
static class |
FindingAnalyticsDimensions.TopFindingStatus
The status of the top finding.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
FindingAnalyticsDimensions(String key,
String topFindingCategory,
String title,
FindingAnalyticsDimensions.TopFindingStatus topFindingStatus,
FindingAnalyticsDimensions.Severity severity,
String targetId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static FindingAnalyticsDimensions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getKey()
Each finding in security assessment has an associated key (think of key as a finding’s name).
|
FindingAnalyticsDimensions.Severity |
getSeverity()
The severity (risk level) of the finding.
|
String |
getTargetId()
The OCID of the target database.
|
String |
getTitle()
The short title of the finding.
|
String |
getTopFindingCategory()
The category of the top finding.
|
FindingAnalyticsDimensions.TopFindingStatus |
getTopFindingStatus()
The status of the top finding.
|
int |
hashCode() |
FindingAnalyticsDimensions.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"key","topFindingCategory","title","topFindingStatus","severity","targetId"}) public FindingAnalyticsDimensions(String key, String topFindingCategory, String title, FindingAnalyticsDimensions.TopFindingStatus topFindingStatus, FindingAnalyticsDimensions.Severity severity, String targetId)
public static FindingAnalyticsDimensions.Builder builder()
Create a new builder.
public FindingAnalyticsDimensions.Builder toBuilder()
public String getKey()
Each finding in security assessment has an associated key (think of key as a finding’s name). For a given finding, the key will be the same across targets. The user can use these keys to filter the findings.
public String getTopFindingCategory()
The category of the top finding.
public String getTitle()
The short title of the finding.
public FindingAnalyticsDimensions.TopFindingStatus getTopFindingStatus()
The status of the top finding. All findings will have “severity” to indicate the risk level, but only top findings will have “status”. Possible status: Pass / Risk (Low, Medium, High)/ Evaluate / Advisory / Deferred Instead of having “Low, Medium, High” in severity, “Risk” will include these three situations in status.
public FindingAnalyticsDimensions.Severity getSeverity()
The severity (risk level) of the finding.
public String getTargetId()
The OCID of the target database.
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–2024. All rights reserved.