Enum Class DynamoDbOperations

java.lang.Object
java.lang.Enum<DynamoDbOperations>
dev.hogwai.dynamodb.simplified.internal.DynamoDbOperations
All Implemented Interfaces:
Serializable, Comparable<DynamoDbOperations>, Constable

public enum DynamoDbOperations extends Enum<DynamoDbOperations>
DynamoDB API operation names used for logging and error reporting.
  • Enum Constant Details

    • QUERY

      public static final DynamoDbOperations QUERY
      DynamoDB Query API.
    • SCAN

      public static final DynamoDbOperations SCAN
      DynamoDB Scan API.
    • PUT_ITEM

      public static final DynamoDbOperations PUT_ITEM
      DynamoDB PutItem API.
    • GET_ITEM

      public static final DynamoDbOperations GET_ITEM
      DynamoDB GetItem API.
    • UPDATE_ITEM

      public static final DynamoDbOperations UPDATE_ITEM
      DynamoDB UpdateItem API.
    • DELETE_ITEM

      public static final DynamoDbOperations DELETE_ITEM
      DynamoDB DeleteItem API.
    • BATCH_GET_ITEM

      public static final DynamoDbOperations BATCH_GET_ITEM
      DynamoDB BatchGetItem API.
    • BATCH_WRITE_ITEM

      public static final DynamoDbOperations BATCH_WRITE_ITEM
      DynamoDB BatchWriteItem API.
    • TRANSACT_WRITE

      public static final DynamoDbOperations TRANSACT_WRITE
      DynamoDB TransactWriteItems API.
    • TRANSACT_GET

      public static final DynamoDbOperations TRANSACT_GET
      DynamoDB TransactGetItems API.
    • UPDATE_TIME_TO_LIVE

      public static final DynamoDbOperations UPDATE_TIME_TO_LIVE
      DynamoDB UpdateTimeToLive API.
    • DESCRIBE_TIME_TO_LIVE

      public static final DynamoDbOperations DESCRIBE_TIME_TO_LIVE
      DynamoDB DescribeTimeToLive API.
    • ENTITY_PUT

      public static final DynamoDbOperations ENTITY_PUT
      Simplified entity put operation.
    • ENTITY_DELETE

      public static final DynamoDbOperations ENTITY_DELETE
      Simplified entity delete operation.
    • ENTITY_QUERY

      public static final DynamoDbOperations ENTITY_QUERY
      Simplified entity query operation.
  • Method Details

    • values

      public static DynamoDbOperations[] 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

      public static DynamoDbOperations valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getOperationName

      public @NonNull String getOperationName()
      Returns the DynamoDB API operation name string.
      Returns:
      the operation name (e.g., "Query", "PutItem")
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Enum<DynamoDbOperations>