@Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public final class Category extends Object
The metadata associated with the category.
Category.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 Category.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 |
Category.Builder |
| Constructor and Description |
|---|
Category(String id,
String compartmentId,
String name,
String description,
List<RecommendationCount> recommendationCounts,
List<ResourceCount> resourceCounts,
LifecycleState lifecycleState,
Double estimatedCostSaving,
Date timeCreated,
Date timeUpdated)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Category.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the tenancy.
|
String |
getDescription()
Text describing the category.
|
Double |
getEstimatedCostSaving()
The estimated cost savings, in dollars, for the category.
|
String |
getId()
The unique OCID of the category.
|
LifecycleState |
getLifecycleState()
The category’s current state.
|
String |
getName()
The name assigned to the category.
|
List<RecommendationCount> |
getRecommendationCounts()
An array of
RecommendationCount objects grouped by the level of importance assigned to the recommendation. |
List<ResourceCount> |
getResourceCounts()
An array of
ResourceCount objects grouped by the status of the recommendation. |
Date |
getTimeCreated()
The date and time the category details were created, in the format defined by RFC3339.
|
Date |
getTimeUpdated()
The date and time the category details were last updated, in the format defined by RFC3339.
|
int |
hashCode() |
Category.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","name","description","recommendationCounts","resourceCounts","lifecycleState","estimatedCostSaving","timeCreated","timeUpdated"}) @Deprecated public Category(String id, String compartmentId, String name, String description, List<RecommendationCount> recommendationCounts, List<ResourceCount> resourceCounts, LifecycleState lifecycleState, Double estimatedCostSaving, Date timeCreated, Date timeUpdated)
public static Category.Builder builder()
Create a new builder.
public Category.Builder toBuilder()
public String getId()
The unique OCID of the category.
public String getCompartmentId()
The OCID of the tenancy. The tenancy is the root compartment.
public String getName()
The name assigned to the category. Avoid entering confidential information.
public String getDescription()
Text describing the category. Avoid entering confidential information.
public List<RecommendationCount> getRecommendationCounts()
An array of RecommendationCount objects grouped by the level of importance assigned to the recommendation.
public List<ResourceCount> getResourceCounts()
An array of ResourceCount objects grouped by the status of the recommendation.
public LifecycleState getLifecycleState()
The category’s current state.
public Double getEstimatedCostSaving()
The estimated cost savings, in dollars, for the category.
public Date getTimeCreated()
The date and time the category details were created, in the format defined by RFC3339.
public Date getTimeUpdated()
The date and time the category details were last updated, in the format defined by RFC3339.
Copyright © 2016–2021. All rights reserved.