Enum ReturnConsumedCapacity
java.lang.Object
java.lang.Enum<ReturnConsumedCapacity>
com.amazonaws.services.dynamodbv2.model.ReturnConsumedCapacity
- All Implemented Interfaces:
Serializable
,Comparable<ReturnConsumedCapacity>
,java.lang.constant.Constable
Determines the level of detail about provisioned throughput consumption that is returned in the response:
-
INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.
Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).
-
TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.
-
NONE - No ConsumedCapacity details are included in the response.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ReturnConsumedCapacity
Use this in place of valueOf.toString()
static ReturnConsumedCapacity
Returns the enum constant of this type with the specified name.static ReturnConsumedCapacity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INDEXES
-
TOTAL
-
NONE
-
-
Method Details
-
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
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
- Overrides:
toString
in classEnum<ReturnConsumedCapacity>
-
fromValue
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- ReturnConsumedCapacity corresponding to the value
-