Class SecurityAssessmentStatistics
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.SecurityAssessmentStatistics
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class SecurityAssessmentStatistics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Statistics showing the number of findings for each category grouped by risk levels for all the targets in the specified security assessment.The categories include Auditing, Authorization Control, Data Encryption, Database Configuration, Fine-Grained Access Control, Privileges and Roles, and User Accounts. The risk levels include High Risk, Medium Risk, Low Risk, Advisory, Evaluate, and Pass.
Note: Objects should always be created or deserialized using theSecurityAssessmentStatistics.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 theSecurityAssessmentStatistics.Builder
, which maintain a set of all explicitly set fields calledSecurityAssessmentStatistics.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 class
SecurityAssessmentStatistics.Builder
-
Constructor Summary
Constructors Constructor Description SecurityAssessmentStatistics(Integer targetsCount, SectionStatistics highRisk, SectionStatistics mediumRisk, SectionStatistics lowRisk, SectionStatistics advisory, SectionStatistics evaluate, SectionStatistics pass, SectionStatistics deferred)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SecurityAssessmentStatistics.Builder
builder()
Create a new builder.boolean
equals(Object o)
SectionStatistics
getAdvisory()
SectionStatistics
getDeferred()
SectionStatistics
getEvaluate()
SectionStatistics
getHighRisk()
SectionStatistics
getLowRisk()
SectionStatistics
getMediumRisk()
SectionStatistics
getPass()
Integer
getTargetsCount()
The total number of targets in this security assessment.int
hashCode()
SecurityAssessmentStatistics.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SecurityAssessmentStatistics
@Deprecated @ConstructorProperties({"targetsCount","highRisk","mediumRisk","lowRisk","advisory","evaluate","pass","deferred"}) public SecurityAssessmentStatistics(Integer targetsCount, SectionStatistics highRisk, SectionStatistics mediumRisk, SectionStatistics lowRisk, SectionStatistics advisory, SectionStatistics evaluate, SectionStatistics pass, SectionStatistics deferred)
Deprecated.
-
-
Method Detail
-
builder
public static SecurityAssessmentStatistics.Builder builder()
Create a new builder.
-
toBuilder
public SecurityAssessmentStatistics.Builder toBuilder()
-
getTargetsCount
public Integer getTargetsCount()
The total number of targets in this security assessment.- Returns:
- the value
-
getHighRisk
public SectionStatistics getHighRisk()
-
getMediumRisk
public SectionStatistics getMediumRisk()
-
getLowRisk
public SectionStatistics getLowRisk()
-
getAdvisory
public SectionStatistics getAdvisory()
-
getEvaluate
public SectionStatistics getEvaluate()
-
getPass
public SectionStatistics getPass()
-
getDeferred
public SectionStatistics getDeferred()
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-