Enum ModelStatus
- java.lang.Object
-
- java.lang.Enum<ModelStatus>
-
- software.amazon.awssdk.services.lookoutvision.model.ModelStatus
-
- All Implemented Interfaces:
Serializable,Comparable<ModelStatus>
@Generated("software.amazon.awssdk:codegen") public enum ModelStatus extends Enum<ModelStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETINGHOSTEDHOSTING_FAILEDSTARTING_HOSTINGSTOPPING_HOSTINGSYSTEM_UPDATINGTRAINEDTRAININGTRAINING_FAILEDUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelStatusfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<ModelStatus>knownValues()StringtoString()static ModelStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static ModelStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRAINING
public static final ModelStatus TRAINING
-
TRAINED
public static final ModelStatus TRAINED
-
TRAINING_FAILED
public static final ModelStatus TRAINING_FAILED
-
STARTING_HOSTING
public static final ModelStatus STARTING_HOSTING
-
HOSTED
public static final ModelStatus HOSTED
-
HOSTING_FAILED
public static final ModelStatus HOSTING_FAILED
-
STOPPING_HOSTING
public static final ModelStatus STOPPING_HOSTING
-
SYSTEM_UPDATING
public static final ModelStatus SYSTEM_UPDATING
-
DELETING
public static final ModelStatus DELETING
-
UNKNOWN_TO_SDK_VERSION
public static final ModelStatus UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static ModelStatus[] 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 (ModelStatus c : ModelStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelStatus 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<ModelStatus>
-
fromValue
public static ModelStatus 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:
- ModelStatus corresponding to the value
-
knownValues
public static Set<ModelStatus> 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 knownModelStatuss
-
-