public enum ReturnConsumedCapacity extends java.lang.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(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static ReturnConsumedCapacity |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ReturnConsumedCapacity>
public static ReturnConsumedCapacity fromValue(java.lang.String value)
value
- real valueCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.