@Generated(value="software.amazon.awssdk:codegen") public final class DocumentAttributeValueCountPair extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentAttributeValueCountPair.Builder,DocumentAttributeValueCountPair>
Provides the count of documents that match a particular attribute when doing a faceted search.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentAttributeValueCountPair.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentAttributeValueCountPair.Builder |
builder() |
Integer |
count()
The number of documents in the response that have the attribute value for the key.
|
DocumentAttributeValue |
documentAttributeValue()
The value of the attribute.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentAttributeValueCountPair.Builder> |
serializableBuilderClass() |
DocumentAttributeValueCountPair.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic DocumentAttributeValue documentAttributeValue()
The value of the attribute. For example, "HR."
public Integer count()
The number of documents in the response that have the attribute value for the key.
public DocumentAttributeValueCountPair.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentAttributeValueCountPair.Builder,DocumentAttributeValueCountPair>public static DocumentAttributeValueCountPair.Builder builder()
public static Class<? extends DocumentAttributeValueCountPair.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.