@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeaturedDocument extends Object implements Serializable, Cloneable, StructuredPojo
A featured document. This document is displayed at the top of the search results page, placed above all other results for certain queries. If there's an exact match of a query, then the document is featured in the search results.
Constructor and Description |
---|
FeaturedDocument() |
Modifier and Type | Method and Description |
---|---|
FeaturedDocument |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The identifier of the document to feature in the search results.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The identifier of the document to feature in the search results.
|
String |
toString()
Returns a string representation of this object.
|
FeaturedDocument |
withId(String id)
The identifier of the document to feature in the search results.
|
public void setId(String id)
The identifier of the document to feature in the search results. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
id
- The identifier of the document to feature in the search results. You can use the Query API to search for specific
documents with their document IDs included in the result items, or you can use the console.public String getId()
The identifier of the document to feature in the search results. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
public FeaturedDocument withId(String id)
The identifier of the document to feature in the search results. You can use the Query API to search for specific documents with their document IDs included in the result items, or you can use the console.
id
- The identifier of the document to feature in the search results. You can use the Query API to search for specific
documents with their document IDs included in the result items, or you can use the console.public String toString()
toString
in class Object
Object.toString()
public FeaturedDocument clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.