@Generated(value="software.amazon.awssdk:codegen") public final class TermsAggregation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TermsAggregation.Builder,TermsAggregation>
Performs an aggregation that will return a list of buckets. The list of buckets is a ranked list of the number of occurrences of an aggregation field value.
Modifier and Type | Class and Description |
---|---|
static interface |
TermsAggregation.Builder |
Modifier and Type | Method and Description |
---|---|
static TermsAggregation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxBuckets()
The number of buckets to return in the response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TermsAggregation.Builder> |
serializableBuilderClass() |
TermsAggregation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final Integer maxBuckets()
The number of buckets to return in the response. Default to 10.
public TermsAggregation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<TermsAggregation.Builder,TermsAggregation>
public static TermsAggregation.Builder builder()
public static Class<? extends TermsAggregation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.