@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 OCID
|
String |
getDescription()
Description of the recommendation
|
Map<String,String> |
getDetails()
Recommendation details
|
String |
getId()
Unique identifier for the recommendation
|
RecommendationLifecycleDetail |
getLifecycleDetail()
Additional details on the substate of the lifecycle state
|
LifecycleState |
getLifecycleState()
The current lifecycle state of the recommendation
|
String |
getName()
Recommendation string that appears in the UI for the problem
|
Long |
getProblemCount()
Count number of the problem
|
RiskLevel |
getRiskLevel()
The risk level of the problem
|
String |
getTargetId()
Target ID associated with the problem
|
String |
getTenantId()
Tenant identifier
|
Date |
getTimeCreated()
The date and time the problem was first created
|
Date |
getTimeUpdated()
The date and time the problem was last updated
|
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 the recommendation
public RecommendationType getType()
Recommendation type
public String getTenantId()
Tenant identifier
public String getCompartmentId()
Compartment OCID
public String getTargetId()
Target ID associated with the problem
public RiskLevel getRiskLevel()
The risk level of the problem
public Long getProblemCount()
Count number of the problem
public LifecycleState getLifecycleState()
The current lifecycle state of the recommendation
public RecommendationLifecycleDetail getLifecycleDetail()
Additional details on the substate of the lifecycle state
public Date getTimeCreated()
The date and time the problem was first created
public Date getTimeUpdated()
The date and time the problem was last updated
public String getName()
Recommendation string that appears in the UI for the problem
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–2024. All rights reserved.