public class ItemCollectionMetrics
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
ItemCollectionMetrics() |
Modifier and Type | Method and Description |
---|---|
ItemCollectionMetrics |
addItemCollectionKeyEntry(java.lang.String key,
AttributeValue value)
The partition key value of the item collection.
|
ItemCollectionMetrics |
clearItemCollectionKeyEntries()
Removes all the entries added into ItemCollectionKey.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,AttributeValue> |
getItemCollectionKey()
The partition key value of the item collection.
|
java.util.List<java.lang.Double> |
getSizeEstimateRangeGB()
An estimate of item collection size, in gigabytes.
|
int |
hashCode() |
void |
setItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The partition key value of the item collection.
|
void |
setSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
An estimate of item collection size, in gigabytes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ItemCollectionMetrics |
withItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The partition key value of the item collection.
|
ItemCollectionMetrics |
withSizeEstimateRangeGB(java.util.Collection<java.lang.Double> sizeEstimateRangeGB)
An estimate of item collection size, in gigabytes.
|
ItemCollectionMetrics |
withSizeEstimateRangeGB(java.lang.Double... sizeEstimateRangeGB)
An estimate of item collection size, in gigabytes.
|
public java.util.Map<java.lang.String,AttributeValue> getItemCollectionKey()
The partition key value of the item collection. This value is the same as the partition key value of the item.
The partition key value of the item collection. This value is the same as the partition key value of the item.
public void setItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The partition key value of the item collection. This value is the same as the partition key value of the item.
itemCollectionKey
- The partition key value of the item collection. This value is the same as the partition key value of the item.
public ItemCollectionMetrics withItemCollectionKey(java.util.Map<java.lang.String,AttributeValue> itemCollectionKey)
The partition key value of the item collection. This value is the same as the partition key value of the item.
Returns a reference to this object so that method calls can be chained together.
itemCollectionKey
- The partition key value of the item collection. This value is the same as the partition key value of the item.
public ItemCollectionMetrics addItemCollectionKeyEntry(java.lang.String key, AttributeValue value)
The partition key value of the item collection. This value is the same as the partition key value of the item.
The method adds a new key-value pair into ItemCollectionKey parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into ItemCollectionKey.value
- The corresponding value of the entry to be added into
ItemCollectionKey.public ItemCollectionMetrics clearItemCollectionKeyEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.Double> getSizeEstimateRangeGB()
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.
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.
public void setSizeEstimateRangeGB(java.util.Collection<java.lang.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.
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.
public ItemCollectionMetrics withSizeEstimateRangeGB(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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.
public ItemCollectionMetrics withSizeEstimateRangeGB(java.util.Collection<java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.