java.lang.Object
java.lang.Enum<DataRecord.Status>
software.amazon.lambda.powertools.idempotency.persistence.DataRecord.Status
All Implemented Interfaces:
Serializable, Comparable<DataRecord.Status>, java.lang.constant.Constable
Enclosing class:
DataRecord

public static enum DataRecord.Status extends Enum<DataRecord.Status>
Status of the record:
  • INPROGRESS: record initialized when function starts
  • COMPLETED: record updated with the result of the function when it ends
  • EXPIRED: record expired, idempotency will not happen
  • Enum Constant Details

  • Method Details

    • values

      public static DataRecord.Status[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DataRecord.Status 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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DataRecord.Status>