@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
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.
| Modifier and Type | Method and Description |
|---|---|
static ReturnConsumedCapacity |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ReturnConsumedCapacity |
valueOf(String name)
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.
|
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)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ReturnConsumedCapacity>public static ReturnConsumedCapacity fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.