RecommendationCategory Class

public final class RecommendationCategory
extends ExpandableStringEnum<RecommendationCategory>

Category of Recommendation.

Field Summary

Modifier and Type Field and Description
static final RecommendationCategory COST_OPTIMIZED

The recommendation for this category optimizes the cost of the app.

static final RecommendationCategory THROUGHPUT_OPTIMIZED

The recommendation for this category optimizes the throughput/RPS (Requests per Second) of the app.

Constructor Summary

Constructor Description
RecommendationCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecommendationCategory value.

Method Summary

Modifier and Type Method and Description
static RecommendationCategory fromString(String name)

Creates or finds a RecommendationCategory from its string representation.

static Collection<RecommendationCategory> values()

Gets known RecommendationCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COST_OPTIMIZED

public static final RecommendationCategory COST_OPTIMIZED

The recommendation for this category optimizes the cost of the app.

THROUGHPUT_OPTIMIZED

public static final RecommendationCategory THROUGHPUT_OPTIMIZED

The recommendation for this category optimizes the throughput/RPS (Requests per Second) of the app.

Constructor Details

RecommendationCategory

@Deprecated
public RecommendationCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RecommendationCategory value.

Method Details

fromString

public static RecommendationCategory fromString(String name)

Creates or finds a RecommendationCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RecommendationCategory.

values

public static Collection<RecommendationCategory> values()

Gets known RecommendationCategory values.

Returns:

known RecommendationCategory values.

Applies to