@Generated(value="software.amazon.awssdk:codegen") public final class FeaturedDocument extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeaturedDocument.Builder,FeaturedDocument>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FeaturedDocument.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FeaturedDocument.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the document to feature in the search results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FeaturedDocument.Builder> |
serializableBuilderClass() |
FeaturedDocument.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public FeaturedDocument.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FeaturedDocument.Builder,FeaturedDocument>public static FeaturedDocument.Builder builder()
public static Class<? extends FeaturedDocument.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.