Package com.oracle.bmc.datasafe.model
Class FindingAnalyticsDimensions
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.FindingAnalyticsDimensions
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class FindingAnalyticsDimensions extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe scope of analytics data.
Note: Objects should always be created or deserialized using theFindingAnalyticsDimensions.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 theFindingAnalyticsDimensions.Builder, which maintain a set of all explicitly set fields calledFindingAnalyticsDimensions.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 classFindingAnalyticsDimensions.Builderstatic classFindingAnalyticsDimensions.SeverityThe severity (risk level) of the finding.static classFindingAnalyticsDimensions.TopFindingStatusThe status of the top finding.
-
Constructor Summary
Constructors Constructor Description FindingAnalyticsDimensions(String key, String topFindingCategory, String title, FindingAnalyticsDimensions.TopFindingStatus topFindingStatus, FindingAnalyticsDimensions.Severity severity, String targetId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindingAnalyticsDimensions.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetKey()Each finding in security assessment has an associated key (think of key as a finding’s name).FindingAnalyticsDimensions.SeveritygetSeverity()The severity (risk level) of the finding.StringgetTargetId()The OCID of the target database.StringgetTitle()The short title of the finding.StringgetTopFindingCategory()The category of the top finding.FindingAnalyticsDimensions.TopFindingStatusgetTopFindingStatus()The status of the top finding.inthashCode()FindingAnalyticsDimensions.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
FindingAnalyticsDimensions
@Deprecated @ConstructorProperties({"key","topFindingCategory","title","topFindingStatus","severity","targetId"}) public FindingAnalyticsDimensions(String key, String topFindingCategory, String title, FindingAnalyticsDimensions.TopFindingStatus topFindingStatus, FindingAnalyticsDimensions.Severity severity, String targetId)
Deprecated.
-
-
Method Detail
-
builder
public static FindingAnalyticsDimensions.Builder builder()
Create a new builder.
-
toBuilder
public FindingAnalyticsDimensions.Builder toBuilder()
-
getKey
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.
- Returns:
- the value
-
getTopFindingCategory
public String getTopFindingCategory()
The category of the top finding.- Returns:
- the value
-
getTitle
public String getTitle()
The short title of the finding.- Returns:
- the value
-
getTopFindingStatus
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.
- Returns:
- the value
-
getSeverity
public FindingAnalyticsDimensions.Severity getSeverity()
The severity (risk level) of the finding.- Returns:
- the value
-
getTargetId
public String getTargetId()
The OCID of the target database.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-