@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Bucket extends Object implements Serializable, Cloneable, StructuredPojo
A count of documents that meets a specific aggregation criteria.
| Constructor and Description |
|---|
Bucket() |
| Modifier and Type | Method and Description |
|---|---|
Bucket |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of documents that have the value counted for the particular bucket.
|
String |
getKeyValue()
The value counted for the particular bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCount(Integer count)
The number of documents that have the value counted for the particular bucket.
|
void |
setKeyValue(String keyValue)
The value counted for the particular bucket.
|
String |
toString()
Returns a string representation of this object.
|
Bucket |
withCount(Integer count)
The number of documents that have the value counted for the particular bucket.
|
Bucket |
withKeyValue(String keyValue)
The value counted for the particular bucket.
|
public void setKeyValue(String keyValue)
The value counted for the particular bucket.
keyValue - The value counted for the particular bucket.public String getKeyValue()
The value counted for the particular bucket.
public Bucket withKeyValue(String keyValue)
The value counted for the particular bucket.
keyValue - The value counted for the particular bucket.public void setCount(Integer count)
The number of documents that have the value counted for the particular bucket.
count - The number of documents that have the value counted for the particular bucket.public Integer getCount()
The number of documents that have the value counted for the particular bucket.
public Bucket withCount(Integer count)
The number of documents that have the value counted for the particular bucket.
count - The number of documents that have the value counted for the particular bucket.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.