Enum Class DynamoDbOperations
- All Implemented Interfaces:
Serializable, Comparable<DynamoDbOperations>, Constable
DynamoDB API operation names used for logging and error reporting.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDynamoDB BatchGetItem API.DynamoDB BatchWriteItem API.DynamoDB DeleteItem API.DynamoDB DescribeTimeToLive API.Simplified entity delete operation.Simplified entity put operation.Simplified entity query operation.DynamoDB GetItem API.DynamoDB PutItem API.DynamoDB Query API.DynamoDB Scan API.DynamoDB TransactGetItems API.DynamoDB TransactWriteItems API.DynamoDB UpdateItem API.DynamoDB UpdateTimeToLive API. -
Method Summary
Modifier and TypeMethodDescription@NonNull StringReturns the DynamoDB API operation name string.@NonNull StringtoString()static DynamoDbOperationsReturns the enum constant of this class with the specified name.static DynamoDbOperations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUERY
DynamoDB Query API. -
SCAN
DynamoDB Scan API. -
PUT_ITEM
DynamoDB PutItem API. -
GET_ITEM
DynamoDB GetItem API. -
UPDATE_ITEM
DynamoDB UpdateItem API. -
DELETE_ITEM
DynamoDB DeleteItem API. -
BATCH_GET_ITEM
DynamoDB BatchGetItem API. -
BATCH_WRITE_ITEM
DynamoDB BatchWriteItem API. -
TRANSACT_WRITE
DynamoDB TransactWriteItems API. -
TRANSACT_GET
DynamoDB TransactGetItems API. -
UPDATE_TIME_TO_LIVE
DynamoDB UpdateTimeToLive API. -
DESCRIBE_TIME_TO_LIVE
DynamoDB DescribeTimeToLive API. -
ENTITY_PUT
Simplified entity put operation. -
ENTITY_DELETE
Simplified entity delete operation. -
ENTITY_QUERY
Simplified entity query operation.
-
-
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
-
getOperationName
Returns the DynamoDB API operation name string.- Returns:
- the operation name (e.g.,
"Query","PutItem")
-
toString
- Overrides:
toStringin classEnum<DynamoDbOperations>
-