@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketsAggregationType extends Object implements Serializable, Cloneable, StructuredPojo
The type of bucketed aggregation performed.
Constructor and Description |
---|
BucketsAggregationType() |
Modifier and Type | Method and Description |
---|---|
BucketsAggregationType |
clone() |
boolean |
equals(Object obj) |
TermsAggregation |
getTermsAggregation()
Performs an aggregation that will return a list of buckets.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTermsAggregation(TermsAggregation termsAggregation)
Performs an aggregation that will return a list of buckets.
|
String |
toString()
Returns a string representation of this object.
|
BucketsAggregationType |
withTermsAggregation(TermsAggregation termsAggregation)
Performs an aggregation that will return a list of buckets.
|
public void setTermsAggregation(TermsAggregation 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.
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.public TermsAggregation getTermsAggregation()
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.
public BucketsAggregationType withTermsAggregation(TermsAggregation 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.
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.public String toString()
toString
in class Object
Object.toString()
public BucketsAggregationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.