Class BucketInfo
java.lang.Object
com.amazonaws.services.cloudsearchdomain.model.BucketInfo
- All Implemented Interfaces:
Serializable
,Cloneable
A container for the calculated facet values and counts.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list of the calculated facet values and counts.int
hashCode()
void
setBuckets
(Collection<Bucket> buckets) A list of the calculated facet values and counts.toString()
Returns a string representation of this object; useful for testing and debugging.withBuckets
(Bucket... buckets) A list of the calculated facet values and counts.withBuckets
(Collection<Bucket> buckets) A list of the calculated facet values and counts.
-
Constructor Details
-
BucketInfo
public BucketInfo()
-
-
Method Details
-
getBuckets
A list of the calculated facet values and counts.
- Returns:
- A list of the calculated facet values and counts.
-
setBuckets
A list of the calculated facet values and counts.
- Parameters:
buckets
- A list of the calculated facet values and counts.
-
withBuckets
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)
orwithBuckets(java.util.Collection)
if you want to override the existing values.- Parameters:
buckets
- A list of the calculated facet values and counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBuckets
A list of the calculated facet values and counts.
- Parameters:
buckets
- A list of the calculated facet values and counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-