@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Bucket extends Object implements Serializable, Cloneable, StructuredPojo
A container for facet information.
Constructor and Description |
---|
Bucket() |
Modifier and Type | Method and Description |
---|---|
Bucket |
clone() |
boolean |
equals(Object obj) |
Long |
getCount()
The number of hits that contain the facet value in the specified facet field.
|
String |
getValue()
The facet value being counted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Long count)
The number of hits that contain the facet value in the specified facet field.
|
void |
setValue(String value)
The facet value being counted.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Bucket |
withCount(Long count)
The number of hits that contain the facet value in the specified facet field.
|
Bucket |
withValue(String value)
The facet value being counted.
|
public void setValue(String value)
The facet value being counted.
value
- The facet value being counted.public String getValue()
The facet value being counted.
public Bucket withValue(String value)
The facet value being counted.
value
- The facet value being counted.public void setCount(Long count)
The number of hits that contain the facet value in the specified facet field.
count
- The number of hits that contain the facet value in the specified facet field.public Long getCount()
The number of hits that contain the facet value in the specified facet field.
public Bucket withCount(Long count)
The number of hits that contain the facet value in the specified facet field.
count
- The number of hits that contain the facet value in the specified facet field.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.