@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 the SecurityAssessmentStatistics.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 the SecurityAssessmentStatistics.Builder
, which maintain a
set of all explicitly set fields called SecurityAssessmentStatistics.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
SecurityAssessmentStatistics.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SecurityAssessmentStatistics(Integer targetsCount,
SectionStatistics highRisk,
SectionStatistics mediumRisk,
SectionStatistics lowRisk,
SectionStatistics advisory,
SectionStatistics evaluate,
SectionStatistics pass,
SectionStatistics deferred)
Deprecated.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static SecurityAssessmentStatistics.Builder builder()
Create a new builder.
public SecurityAssessmentStatistics.Builder toBuilder()
public Integer getTargetsCount()
The total number of targets in this security assessment.
public SectionStatistics getHighRisk()
public SectionStatistics getMediumRisk()
public SectionStatistics getLowRisk()
public SectionStatistics getAdvisory()
public SectionStatistics getEvaluate()
public SectionStatistics getPass()
public SectionStatistics getDeferred()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.