@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class RecommendationSummary extends Object
Recommendation Definition.
Note: Objects should always be created or deserialized using the RecommendationSummary.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 RecommendationSummary.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 |
RecommendationSummary.Builder |
| Constructor and Description |
|---|
RecommendationSummary(String id,
RecommendationType type,
String tenantId,
String compartmentId,
String targetId,
Map<String,String> details,
RiskLevel riskLevel,
Long problemCount,
LifecycleState lifecycleState,
RecommendationLifecycleDetail lifecycleDetail,
Date timeCreated,
Date timeUpdated,
String name,
String description)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static RecommendationSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
Compartment Identifier
|
String |
getDescription()
description of the recommendation
|
Map<String,String> |
getDetails()
Recommendation details
|
String |
getId()
Unique identifier for Recommendation
|
RecommendationLifecycleDetail |
getLifecycleDetail()
The lifecycleDetail will give more detail on the substate of the lifecycleState.
|
LifecycleState |
getLifecycleState()
The current state of the Recommendation.
|
String |
getName()
recommendation string showing on UX
|
Long |
getProblemCount()
Count number of the problem
|
RiskLevel |
getRiskLevel()
The Risk Level
|
String |
getTargetId()
targetId associated with the problem
|
String |
getTenantId()
Tenant Identifier
|
Date |
getTimeCreated()
problem creating time
|
Date |
getTimeUpdated()
problem updating time
|
RecommendationType |
getType()
Recommendation type
|
int |
hashCode() |
RecommendationSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","type","tenantId","compartmentId","targetId","details","riskLevel","problemCount","lifecycleState","lifecycleDetail","timeCreated","timeUpdated","name","description"}) @Deprecated public RecommendationSummary(String id, RecommendationType type, String tenantId, String compartmentId, String targetId, Map<String,String> details, RiskLevel riskLevel, Long problemCount, LifecycleState lifecycleState, RecommendationLifecycleDetail lifecycleDetail, Date timeCreated, Date timeUpdated, String name, String description)
public static RecommendationSummary.Builder builder()
Create a new builder.
public RecommendationSummary.Builder toBuilder()
public String getId()
Unique identifier for Recommendation
public RecommendationType getType()
Recommendation type
public String getTenantId()
Tenant Identifier
public String getCompartmentId()
Compartment Identifier
public String getTargetId()
targetId associated with the problem
public RiskLevel getRiskLevel()
The Risk Level
public Long getProblemCount()
Count number of the problem
public LifecycleState getLifecycleState()
The current state of the Recommendation.
public RecommendationLifecycleDetail getLifecycleDetail()
The lifecycleDetail will give more detail on the substate of the lifecycleState.
public Date getTimeCreated()
problem creating time
public Date getTimeUpdated()
problem updating time
public String getName()
recommendation string showing on UX
public String getDescription()
description of the recommendation
Copyright © 2016–2021. All rights reserved.