@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketInfo extends Object implements Serializable, Cloneable, StructuredPojo
A container for the calculated facet values and counts.
| Constructor and Description |
|---|
BucketInfo() |
| Modifier and Type | Method and Description |
|---|---|
BucketInfo |
clone() |
boolean |
equals(Object obj) |
List<Bucket> |
getBuckets()
A list of the calculated facet values and counts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
BucketInfo |
withBuckets(Bucket... buckets)
A list of the calculated facet values and counts.
|
BucketInfo |
withBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
|
public List<Bucket> getBuckets()
A list of the calculated facet values and counts.
public void setBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
buckets - A list of the calculated facet values and counts.public BucketInfo withBuckets(Bucket... buckets)
A list of the calculated facet values and counts.
NOTE: This method appends the values to the existing list (if any). Use
setBuckets(java.util.Collection) or withBuckets(java.util.Collection) if you want to override
the existing values.
buckets - A list of the calculated facet values and counts.public BucketInfo withBuckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
buckets - A list of the calculated facet values and counts.public String toString()
toString in class ObjectObject.toString()public BucketInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.