@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ProblemSummary extends Object
Summary of the Problem.
Note: Objects should always be created or deserialized using the ProblemSummary.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 ProblemSummary.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ProblemSummary.Builder |
Constructor and Description |
---|
ProblemSummary(String id,
String compartmentId,
String detectorRuleId,
RiskLevel riskLevel,
Double riskScore,
String resourceId,
String resourceName,
String resourceType,
List<String> labels,
Date timeFirstDetected,
Date timeLastDetected,
ProblemLifecycleState lifecycleState,
ProblemLifecycleDetail lifecycleDetail,
DetectorEnum detectorId,
String region,
List<String> regions,
String targetId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ProblemSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
Compartment Identifier where the resource is created
|
DetectorEnum |
getDetectorId()
Id of detector associated with the Problem.
|
String |
getDetectorRuleId()
Identifier of the rule
|
String |
getId()
Unique identifier that is immutable on creation
|
List<String> |
getLabels()
user defined labels on the problem
|
ProblemLifecycleDetail |
getLifecycleDetail()
The lifecycleDetail will give more detail on the substate of the lifecycleState.
|
ProblemLifecycleState |
getLifecycleState()
The current state of the Problem.
|
String |
getRegion()
DEPRECATED
|
List<String> |
getRegions()
Regions where the problem is found
|
String |
getResourceId()
Identifier of the Resource
|
String |
getResourceName()
DisplayName of the Resource
|
String |
getResourceType()
Type of the Resource
|
RiskLevel |
getRiskLevel()
The Risk Level
|
Double |
getRiskScore()
Risk Score for the problem
|
String |
getTargetId()
targetId associated with the problem.
|
Date |
getTimeFirstDetected()
The date and time the problem was first detected.
|
Date |
getTimeLastDetected()
The date and time the problem was last detected.
|
int |
hashCode() |
ProblemSummary.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","compartmentId","detectorRuleId","riskLevel","riskScore","resourceId","resourceName","resourceType","labels","timeFirstDetected","timeLastDetected","lifecycleState","lifecycleDetail","detectorId","region","regions","targetId"}) public ProblemSummary(String id, String compartmentId, String detectorRuleId, RiskLevel riskLevel, Double riskScore, String resourceId, String resourceName, String resourceType, List<String> labels, Date timeFirstDetected, Date timeLastDetected, ProblemLifecycleState lifecycleState, ProblemLifecycleDetail lifecycleDetail, DetectorEnum detectorId, String region, List<String> regions, String targetId)
public static ProblemSummary.Builder builder()
Create a new builder.
public ProblemSummary.Builder toBuilder()
public String getId()
Unique identifier that is immutable on creation
public String getCompartmentId()
Compartment Identifier where the resource is created
public String getDetectorRuleId()
Identifier of the rule
public RiskLevel getRiskLevel()
The Risk Level
public Double getRiskScore()
Risk Score for the problem
public String getResourceId()
Identifier of the Resource
public String getResourceName()
DisplayName of the Resource
public String getResourceType()
Type of the Resource
public Date getTimeFirstDetected()
The date and time the problem was first detected. Format defined by RFC3339.
public Date getTimeLastDetected()
The date and time the problem was last detected. Format defined by RFC3339.
public ProblemLifecycleState getLifecycleState()
The current state of the Problem.
public ProblemLifecycleDetail getLifecycleDetail()
The lifecycleDetail will give more detail on the substate of the lifecycleState.
public DetectorEnum getDetectorId()
Id of detector associated with the Problem.
public String getRegion()
DEPRECATED
public String getTargetId()
targetId associated with the problem.
Copyright © 2016–2022. All rights reserved.