@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ReturnConsumedCapacity extends Enum<ReturnConsumedCapacity>
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
ConsumedCapacity for each table and secondary index that was accessed.
Note that some operations, such as
BatchGetItem, do not access any indexes at
all. In these cases, specifying
INDEXES will only return
ConsumedCapacity information for
TOTAL - The response includes only the aggregate
ConsumedCapacity for the operation.
NONE - No
ConsumedCapacity details are included in the response.
|Modifier and Type||Method and Description|
Use this in place of valueOf.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
public static final ReturnConsumedCapacity INDEXES
public static final ReturnConsumedCapacity TOTAL
public static final ReturnConsumedCapacity NONE
public static ReturnConsumedCapacity values()
for (ReturnConsumedCapacity c : ReturnConsumedCapacity.values()) System.out.println(c);
public static ReturnConsumedCapacity valueOf(String name)
public static ReturnConsumedCapacity fromValue(String value)
value- real value
IllegalArgumentException- If the specified value does not map to one of the known values in this enum.