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.ExplicitlySetBmcModelStatistics 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 classSecurityAssessmentStatistics.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.Builderbuilder()Create a new builder.booleanequals(Object o)SectionStatisticsgetAdvisory()SectionStatisticsgetDeferred()SectionStatisticsgetEvaluate()SectionStatisticsgetHighRisk()SectionStatisticsgetLowRisk()SectionStatisticsgetMediumRisk()SectionStatisticsgetPass()IntegergetTargetsCount()The total number of targets in this security assessment.inthashCode()SecurityAssessmentStatistics.BuildertoBuilder()StringtoString()StringtoString(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:
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
-
-