Enum Class ResourceLifecycleIndex.Lifecycle
java.lang.Object
java.lang.Enum<ResourceLifecycleIndex.Lifecycle>
software.amazon.smithy.model.knowledge.ResourceLifecycleIndex.Lifecycle
- All Implemented Interfaces:
Serializable,Comparable<ResourceLifecycleIndex.Lifecycle>,Constable
- Enclosing class:
- ResourceLifecycleIndex
The lifecycle effect an operation has on a resource.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation creates the resource; identifiers are in the output, properties in the input.The operation deletes the resource; identifiers are in the input.The operation creates or replaces the resource with a caller-provided identifier from the input.The operation reads the resource; identifiers are in the input, properties in the output.The operation updates the resource; identifiers and properties are in the input. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ResourceLifecycleIndex.Lifecycle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE
The operation creates the resource; identifiers are in the output, properties in the input. -
PUT
The operation creates or replaces the resource with a caller-provided identifier from the input. -
READ
The operation reads the resource; identifiers are in the input, properties in the output. -
UPDATE
The operation updates the resource; identifiers and properties are in the input. -
DELETE
The operation deletes the resource; identifiers are in the input.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-