@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentAttributeValueCountPair extends Object implements Serializable, Cloneable, StructuredPojo
Provides the count of documents that match a particular attribute when doing a faceted search.
Constructor and Description |
---|
DocumentAttributeValueCountPair() |
Modifier and Type | Method and Description |
---|---|
DocumentAttributeValueCountPair |
clone() |
boolean |
equals(Object obj) |
Integer |
getCount()
The number of documents in the response that have the attribute value for the key.
|
DocumentAttributeValue |
getDocumentAttributeValue()
The value of the attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCount(Integer count)
The number of documents in the response that have the attribute value for the key.
|
void |
setDocumentAttributeValue(DocumentAttributeValue documentAttributeValue)
The value of the attribute.
|
String |
toString()
Returns a string representation of this object.
|
DocumentAttributeValueCountPair |
withCount(Integer count)
The number of documents in the response that have the attribute value for the key.
|
DocumentAttributeValueCountPair |
withDocumentAttributeValue(DocumentAttributeValue documentAttributeValue)
The value of the attribute.
|
public void setDocumentAttributeValue(DocumentAttributeValue documentAttributeValue)
The value of the attribute. For example, "HR."
documentAttributeValue
- The value of the attribute. For example, "HR."public DocumentAttributeValue getDocumentAttributeValue()
The value of the attribute. For example, "HR."
public DocumentAttributeValueCountPair withDocumentAttributeValue(DocumentAttributeValue documentAttributeValue)
The value of the attribute. For example, "HR."
documentAttributeValue
- The value of the attribute. For example, "HR."public void setCount(Integer count)
The number of documents in the response that have the attribute value for the key.
count
- The number of documents in the response that have the attribute value for the key.public Integer getCount()
The number of documents in the response that have the attribute value for the key.
public DocumentAttributeValueCountPair withCount(Integer count)
The number of documents in the response that have the attribute value for the key.
count
- The number of documents in the response that have the attribute value for the key.public String toString()
toString
in class Object
Object.toString()
public DocumentAttributeValueCountPair clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.