@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasItemCollectionKey()
Returns true if the ItemCollectionKey property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSizeEstimateRangeGB()
Returns true if the SizeEstimateRangeGB property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
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 boolean hasItemCollectionKey()
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.
You can use hasItemCollectionKey()
to see if a value was sent in this field.
public boolean hasSizeEstimateRangeGB()
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.
You can use hasSizeEstimateRangeGB()
to see if a value was sent in this field.
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.