Package com.oracle.bmc.datasafe.model
Class CryptoAssessmentFindingSummaryMetrics
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.CryptoAssessmentFindingSummaryMetrics
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class CryptoAssessmentFindingSummaryMetrics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelAggregate finding counts for the specified crypto assessment.
Note: Objects should always be created or deserialized using theCryptoAssessmentFindingSummaryMetrics.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 theCryptoAssessmentFindingSummaryMetrics.Builder, which maintain a set of all explicitly set fields calledCryptoAssessmentFindingSummaryMetrics.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 classCryptoAssessmentFindingSummaryMetrics.Builder
-
Constructor Summary
Constructors Constructor Description CryptoAssessmentFindingSummaryMetrics(Integer totalChecks, Integer totalFindings, Integer critical, Integer high, Integer med, Integer low, Map<String,Integer> statusCounts, CryptoAssessmentFindingCategorySummary networkEncryptionStatus, CryptoAssessmentFindingCategorySummary dataEncryptionStatus, CryptoAssessmentFindingCategorySummary walletStatus, CryptoAssessmentFindingCategorySummary backupStatus)Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
CryptoAssessmentFindingSummaryMetrics
@Deprecated @ConstructorProperties({"totalChecks","totalFindings","critical","high","med","low","statusCounts","networkEncryptionStatus","dataEncryptionStatus","walletStatus","backupStatus"}) public CryptoAssessmentFindingSummaryMetrics(Integer totalChecks, Integer totalFindings, Integer critical, Integer high, Integer med, Integer low, Map<String,Integer> statusCounts, CryptoAssessmentFindingCategorySummary networkEncryptionStatus, CryptoAssessmentFindingCategorySummary dataEncryptionStatus, CryptoAssessmentFindingCategorySummary walletStatus, CryptoAssessmentFindingCategorySummary backupStatus)
Deprecated.
-
-
Method Detail
-
builder
public static CryptoAssessmentFindingSummaryMetrics.Builder builder()
Create a new builder.
-
toBuilder
public CryptoAssessmentFindingSummaryMetrics.Builder toBuilder()
-
getTotalChecks
public Integer getTotalChecks()
Total findings across all statuses.- Returns:
- the value
-
getTotalFindings
public Integer getTotalFindings()
Findings with FAIL or EVALUATE status.- Returns:
- the value
-
getCritical
public Integer getCritical()
FAIL or EVALUATE findings with priority 1.- Returns:
- the value
-
getHigh
public Integer getHigh()
FAIL or EVALUATE findings with priority 2.- Returns:
- the value
-
getMed
public Integer getMed()
FAIL or EVALUATE findings with priority 3.- Returns:
- the value
-
getLow
public Integer getLow()
FAIL or EVALUATE findings with priority 4.- Returns:
- the value
-
getStatusCounts
public Map<String,Integer> getStatusCounts()
Counts keyed by finding status.All supported statuses are included with a zero count when absent.
- Returns:
- the value
-
getNetworkEncryptionStatus
public CryptoAssessmentFindingCategorySummary getNetworkEncryptionStatus()
-
getDataEncryptionStatus
public CryptoAssessmentFindingCategorySummary getDataEncryptionStatus()
-
getWalletStatus
public CryptoAssessmentFindingCategorySummary getWalletStatus()
-
getBackupStatus
public CryptoAssessmentFindingCategorySummary getBackupStatus()
-
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
-
-