Enum ConfigRecommendationOptimizationType
- java.lang.Object
-
- java.lang.Enum<ConfigRecommendationOptimizationType>
-
- software.amazon.awssdk.services.resiliencehub.model.ConfigRecommendationOptimizationType
-
- All Implemented Interfaces:
Serializable,Comparable<ConfigRecommendationOptimizationType>
@Generated("software.amazon.awssdk:codegen") public enum ConfigRecommendationOptimizationType extends Enum<ConfigRecommendationOptimizationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEST_ATTAINABLEBEST_AZ_RECOVERYBEST_REGION_RECOVERYLEAST_CHANGELEAST_COSTLEAST_ERRORSUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigRecommendationOptimizationTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ConfigRecommendationOptimizationType>knownValues()StringtoString()static ConfigRecommendationOptimizationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigRecommendationOptimizationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEAST_COST
public static final ConfigRecommendationOptimizationType LEAST_COST
-
LEAST_CHANGE
public static final ConfigRecommendationOptimizationType LEAST_CHANGE
-
BEST_AZ_RECOVERY
public static final ConfigRecommendationOptimizationType BEST_AZ_RECOVERY
-
LEAST_ERRORS
public static final ConfigRecommendationOptimizationType LEAST_ERRORS
-
BEST_ATTAINABLE
public static final ConfigRecommendationOptimizationType BEST_ATTAINABLE
-
BEST_REGION_RECOVERY
public static final ConfigRecommendationOptimizationType BEST_REGION_RECOVERY
-
UNKNOWN_TO_SDK_VERSION
public static final ConfigRecommendationOptimizationType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ConfigRecommendationOptimizationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigRecommendationOptimizationType c : ConfigRecommendationOptimizationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigRecommendationOptimizationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConfigRecommendationOptimizationType>
-
fromValue
public static ConfigRecommendationOptimizationType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- ConfigRecommendationOptimizationType corresponding to the value
-
knownValues
public static Set<ConfigRecommendationOptimizationType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownConfigRecommendationOptimizationTypes
-
-