@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public final class RecommendationSummary extends Object
The metadata associated with the recommendation summary.
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,
String compartmentId,
String categoryId,
String name,
String description,
Importance importance,
List<ResourceCount> resourceCounts,
LifecycleState lifecycleState,
Double estimatedCostSaving,
Status status,
Date timeStatusBegin,
Date timeStatusEnd,
Date timeCreated,
Date timeUpdated,
SupportedLevels supportedLevels,
Map<String,String> extendedMetadata)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RecommendationSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCategoryId()
The unique OCID associated with the category.
|
String |
getCompartmentId()
The OCID of the tenancy.
|
String |
getDescription()
Text describing the recommendation.
|
Double |
getEstimatedCostSaving()
The estimated cost savings, in dollars, for the recommendation.
|
Map<String,String> |
getExtendedMetadata()
Additional metadata key/value pairs for the recommendation summary.
|
String |
getId()
The unique OCID associated with the recommendation.
|
Importance |
getImportance()
The level of importance assigned to the recommendation.
|
LifecycleState |
getLifecycleState()
The recommendation’s current state.
|
String |
getName()
The name assigned to the recommendation.
|
List<ResourceCount> |
getResourceCounts()
An array of
ResourceCount objects grouped by the status of the resource actions. |
Status |
getStatus()
The current status of the recommendation.
|
SupportedLevels |
getSupportedLevels() |
Date |
getTimeCreated()
The date and time the recommendation details were created, in the format defined by RFC3339.
|
Date |
getTimeStatusBegin()
The date and time that the recommendation entered its current status.
|
Date |
getTimeStatusEnd()
The date and time the current status will change.
|
Date |
getTimeUpdated()
The date and time the recommendation details were last updated, in the format defined by RFC3339.
|
int |
hashCode() |
RecommendationSummary.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","compartmentId","categoryId","name","description","importance","resourceCounts","lifecycleState","estimatedCostSaving","status","timeStatusBegin","timeStatusEnd","timeCreated","timeUpdated","supportedLevels","extendedMetadata"}) public RecommendationSummary(String id, String compartmentId, String categoryId, String name, String description, Importance importance, List<ResourceCount> resourceCounts, LifecycleState lifecycleState, Double estimatedCostSaving, Status status, Date timeStatusBegin, Date timeStatusEnd, Date timeCreated, Date timeUpdated, SupportedLevels supportedLevels, Map<String,String> extendedMetadata)
public static RecommendationSummary.Builder builder()
Create a new builder.
public RecommendationSummary.Builder toBuilder()
public String getId()
The unique OCID associated with the recommendation.
public String getCompartmentId()
The OCID of the tenancy. The tenancy is the root compartment.
public String getCategoryId()
The unique OCID associated with the category.
public String getName()
The name assigned to the recommendation.
public String getDescription()
Text describing the recommendation.
public Importance getImportance()
The level of importance assigned to the recommendation.
public List<ResourceCount> getResourceCounts()
An array of ResourceCount
objects grouped by the status of the resource actions.
public LifecycleState getLifecycleState()
The recommendation’s current state.
public Double getEstimatedCostSaving()
The estimated cost savings, in dollars, for the recommendation.
public Status getStatus()
The current status of the recommendation.
public Date getTimeStatusBegin()
The date and time that the recommendation entered its current status. The format is defined by RFC3339.
For example, "The status of the recommendation changed from pending
to current(ignored)
on this date and time."
public Date getTimeStatusEnd()
The date and time the current status will change. The format is defined by RFC3339.
For example, "The current postponed
status of the recommendation will end and change to pending
on this
date and time."
public Date getTimeCreated()
The date and time the recommendation details were created, in the format defined by RFC3339.
public Date getTimeUpdated()
The date and time the recommendation details were last updated, in the format defined by RFC3339.
public SupportedLevels getSupportedLevels()
public Map<String,String> getExtendedMetadata()
Additional metadata key/value pairs for the recommendation summary.
For example:
{"EstimatedSaving": "200"}
Copyright © 2016–2022. All rights reserved.