@Generated(value="software.amazon.awssdk:codegen") public final class ItemCollectionMetrics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ItemCollectionMetrics.Builder,ItemCollectionMetrics>
Information about item collections, if any, that were affected by the operation. ItemCollectionMetrics
is only returned if the request asked for it. If the table does not have any local secondary indexes, this
information is not returned in the response.
Modifier and Type | Class and Description |
---|---|
static interface |
ItemCollectionMetrics.Builder |
Modifier and Type | Method and Description |
---|---|
static ItemCollectionMetrics.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Map<String,AttributeValue> |
itemCollectionKey()
The partition key value of the item collection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ItemCollectionMetrics.Builder> |
serializableBuilderClass() |
List<Double> |
sizeEstimateRangeGB()
An estimate of item collection size, in gigabytes.
|
ItemCollectionMetrics.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Map<String,AttributeValue> itemCollectionKey()
The partition key value of the item collection. This value is the same as the partition key value of the item.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Double> sizeEstimateRangeGB()
An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.
public ItemCollectionMetrics.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ItemCollectionMetrics.Builder,ItemCollectionMetrics>
public static ItemCollectionMetrics.Builder builder()
public static Class<? extends ItemCollectionMetrics.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.