@Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class RecommendationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 RecommendationSummary.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 |
RecommendationSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","type","tenantId","compartmentId","targetId","details","riskLevel","problemCount","lifecycleState","lifecycleDetail","timeCreated","timeUpdated","name","description"}) 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
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.