Enum TaskExecutionStatus
- java.lang.Object
-
- java.lang.Enum<TaskExecutionStatus>
-
- software.amazon.awssdk.services.datasync.model.TaskExecutionStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TaskExecutionStatus>
@Generated("software.amazon.awssdk:codegen") public enum TaskExecutionStatus extends Enum<TaskExecutionStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORLAUNCHINGPREPARINGQUEUEDSUCCESSTRANSFERRINGUNKNOWN_TO_SDK_VERSIONVERIFYING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskExecutionStatusfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<TaskExecutionStatus>knownValues()StringtoString()static TaskExecutionStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskExecutionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final TaskExecutionStatus QUEUED
-
LAUNCHING
public static final TaskExecutionStatus LAUNCHING
-
PREPARING
public static final TaskExecutionStatus PREPARING
-
TRANSFERRING
public static final TaskExecutionStatus TRANSFERRING
-
VERIFYING
public static final TaskExecutionStatus VERIFYING
-
SUCCESS
public static final TaskExecutionStatus SUCCESS
-
ERROR
public static final TaskExecutionStatus ERROR
-
UNKNOWN_TO_SDK_VERSION
public static final TaskExecutionStatus UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static TaskExecutionStatus[] 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 (TaskExecutionStatus c : TaskExecutionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskExecutionStatus 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<TaskExecutionStatus>
-
fromValue
public static TaskExecutionStatus 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:
- TaskExecutionStatus corresponding to the value
-
knownValues
public static Set<TaskExecutionStatus> 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 knownTaskExecutionStatuss
-
-