Package com.oracle.bmc.datasafe.model
Class CryptoAssessmentFindingAnalyticsSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentFindingAnalyticsSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CryptoAssessmentFindingAnalyticsSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAggregated finding details with number of affected targets.
Note: Objects should always be created or deserialized using theCryptoAssessmentFindingAnalyticsSummary.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 theCryptoAssessmentFindingAnalyticsSummary.Builder, which maintain a set of all explicitly set fields calledCryptoAssessmentFindingAnalyticsSummary.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 classCryptoAssessmentFindingAnalyticsSummary.Builderstatic classCryptoAssessmentFindingAnalyticsSummary.CategoryCategory key to which the finding belongs.static classCryptoAssessmentFindingAnalyticsSummary.SeverityText severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.
-
Constructor Summary
Constructors Constructor Description CryptoAssessmentFindingAnalyticsSummary(String findingKey, String title, CryptoAssessmentFindingAnalyticsSummary.Category category, Integer targetCount, Integer priority, CryptoAssessmentFindingAnalyticsSummary.Severity severity, String shortSummary, String shortRemediation)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CryptoAssessmentFindingAnalyticsSummary.Builderbuilder()Create a new builder.booleanequals(Object o)CryptoAssessmentFindingAnalyticsSummary.CategorygetCategory()Category key to which the finding belongs.StringgetFindingKey()Unique key of the finding.IntegergetPriority()Numeric priority of the finding.CryptoAssessmentFindingAnalyticsSummary.SeveritygetSeverity()Text severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.StringgetShortRemediation()Short remediation for the finding.StringgetShortSummary()Short summary of the finding.IntegergetTargetCount()Number of targets impacted by this finding in the queried scope.StringgetTitle()Display title of the finding.inthashCode()CryptoAssessmentFindingAnalyticsSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CryptoAssessmentFindingAnalyticsSummary
@Deprecated @ConstructorProperties({"findingKey","title","category","targetCount","priority","severity","shortSummary","shortRemediation"}) public CryptoAssessmentFindingAnalyticsSummary(String findingKey, String title, CryptoAssessmentFindingAnalyticsSummary.Category category, Integer targetCount, Integer priority, CryptoAssessmentFindingAnalyticsSummary.Severity severity, String shortSummary, String shortRemediation)
Deprecated.
-
-
Method Detail
-
builder
public static CryptoAssessmentFindingAnalyticsSummary.Builder builder()
Create a new builder.
-
toBuilder
public CryptoAssessmentFindingAnalyticsSummary.Builder toBuilder()
-
getFindingKey
public String getFindingKey()
Unique key of the finding.- Returns:
- the value
-
getTitle
public String getTitle()
Display title of the finding.- Returns:
- the value
-
getCategory
public CryptoAssessmentFindingAnalyticsSummary.Category getCategory()
Category key to which the finding belongs.- Returns:
- the value
-
getTargetCount
public Integer getTargetCount()
Number of targets impacted by this finding in the queried scope.- Returns:
- the value
-
getPriority
public Integer getPriority()
Numeric priority of the finding.1 is CRITICAL, 2 is HIGH, 3 is MEDIUM, and 4 is LOW.
- Returns:
- the value
-
getSeverity
public CryptoAssessmentFindingAnalyticsSummary.Severity getSeverity()
Text severity derived from priority using the static mapping 1=CRITICAL, 2=HIGH, 3=MEDIUM, 4=LOW.- Returns:
- the value
-
getShortSummary
public String getShortSummary()
Short summary of the finding.- Returns:
- the value
-
getShortRemediation
public String getShortRemediation()
Short remediation for the finding.- 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
-
-