@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CollapsedResultDetail extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about a collapsed group of search results.
Constructor and Description |
---|
CollapsedResultDetail() |
Modifier and Type | Method and Description |
---|---|
CollapsedResultDetail |
clone() |
boolean |
equals(Object obj) |
DocumentAttribute |
getDocumentAttribute()
The value of the document attribute that results are collapsed on.
|
List<ExpandedResultItem> |
getExpandedResults()
A list of results in the collapsed group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDocumentAttribute(DocumentAttribute documentAttribute)
The value of the document attribute that results are collapsed on.
|
void |
setExpandedResults(Collection<ExpandedResultItem> expandedResults)
A list of results in the collapsed group.
|
String |
toString()
Returns a string representation of this object.
|
CollapsedResultDetail |
withDocumentAttribute(DocumentAttribute documentAttribute)
The value of the document attribute that results are collapsed on.
|
CollapsedResultDetail |
withExpandedResults(Collection<ExpandedResultItem> expandedResults)
A list of results in the collapsed group.
|
CollapsedResultDetail |
withExpandedResults(ExpandedResultItem... expandedResults)
A list of results in the collapsed group.
|
public void setDocumentAttribute(DocumentAttribute documentAttribute)
The value of the document attribute that results are collapsed on.
documentAttribute
- The value of the document attribute that results are collapsed on.public DocumentAttribute getDocumentAttribute()
The value of the document attribute that results are collapsed on.
public CollapsedResultDetail withDocumentAttribute(DocumentAttribute documentAttribute)
The value of the document attribute that results are collapsed on.
documentAttribute
- The value of the document attribute that results are collapsed on.public List<ExpandedResultItem> getExpandedResults()
A list of results in the collapsed group.
public void setExpandedResults(Collection<ExpandedResultItem> expandedResults)
A list of results in the collapsed group.
expandedResults
- A list of results in the collapsed group.public CollapsedResultDetail withExpandedResults(ExpandedResultItem... expandedResults)
A list of results in the collapsed group.
NOTE: This method appends the values to the existing list (if any). Use
setExpandedResults(java.util.Collection)
or withExpandedResults(java.util.Collection)
if you
want to override the existing values.
expandedResults
- A list of results in the collapsed group.public CollapsedResultDetail withExpandedResults(Collection<ExpandedResultItem> expandedResults)
A list of results in the collapsed group.
expandedResults
- A list of results in the collapsed group.public String toString()
toString
in class Object
Object.toString()
public CollapsedResultDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.