@Generated(value="software.amazon.awssdk:codegen") public final class Bucket extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Bucket.Builder,Bucket>
A count of documents that meets a specific aggregation criteria.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Bucket.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Bucket.Builder |
builder() |
Integer |
count()
The number of documents that have the value counted for the particular bucket.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyValue()
The value counted for the particular bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Bucket.Builder> |
serializableBuilderClass() |
Bucket.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyValue()
The value counted for the particular bucket.
public final Integer count()
The number of documents that have the value counted for the particular bucket.
public Bucket.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Bucket.Builder,Bucket>public static Bucket.Builder builder()
public static Class<? extends Bucket.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.