@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ResourceRiskScoreAggregation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Risk score of a resource.
Note: Objects should always be created or deserialized using the ResourceRiskScoreAggregation.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 ResourceRiskScoreAggregation.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ResourceRiskScoreAggregation.Builder |
Constructor and Description |
---|
ResourceRiskScoreAggregation(List<String> tactics,
BigDecimal scoreTimestamp,
Double riskScore,
RiskLevel riskLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResourceRiskScoreAggregation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
RiskLevel |
getRiskLevel()
The Risk Level
|
Double |
getRiskScore()
Risk Score
|
BigDecimal |
getScoreTimestamp()
The date and time for which the score is calculated.
|
List<String> |
getTactics()
Tactics used for evaluating the risk scrore
|
int |
hashCode() |
ResourceRiskScoreAggregation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"tactics","scoreTimestamp","riskScore","riskLevel"}) public ResourceRiskScoreAggregation(List<String> tactics, BigDecimal scoreTimestamp, Double riskScore, RiskLevel riskLevel)
public static ResourceRiskScoreAggregation.Builder builder()
Create a new builder.
public ResourceRiskScoreAggregation.Builder toBuilder()
public List<String> getTactics()
Tactics used for evaluating the risk scrore
public BigDecimal getScoreTimestamp()
The date and time for which the score is calculated. Format defined by RFC3339.
public Double getRiskScore()
Risk Score
public RiskLevel getRiskLevel()
The Risk Level
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–2023. All rights reserved.