Class Bucket
java.lang.Object
com.amazonaws.services.cloudsearchdomain.model.Bucket
- All Implemented Interfaces:
Serializable
,Cloneable
A container for facet information.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCount()
The number of hits that contain the facet value in the specified facet field.getValue()
The facet value being counted.int
hashCode()
void
The number of hits that contain the facet value in the specified facet field.void
The facet value being counted.toString()
Returns a string representation of this object; useful for testing and debugging.The number of hits that contain the facet value in the specified facet field.The facet value being counted.
-
Constructor Details
-
Bucket
public Bucket()
-
-
Method Details
-
setValue
The facet value being counted.
- Parameters:
value
- The facet value being counted.
-
getValue
The facet value being counted.
- Returns:
- The facet value being counted.
-
withValue
The facet value being counted.
- Parameters:
value
- The facet value being counted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCount
The number of hits that contain the facet value in the specified facet field.
- Parameters:
count
- The number of hits that contain the facet value in the specified facet field.
-
getCount
The number of hits that contain the facet value in the specified facet field.
- Returns:
- The number of hits that contain the facet value in the specified facet field.
-
withCount
The number of hits that contain the facet value in the specified facet field.
- Parameters:
count
- The number of hits that contain the facet value in the specified facet field.- 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
-