@Generated(value="software.amazon.awssdk:codegen") public final class FeaturedDocumentWithMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeaturedDocumentWithMetadata.Builder,FeaturedDocumentWithMetadata>
A featured document with its metadata information. 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 |
FeaturedDocumentWithMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FeaturedDocumentWithMetadata.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 featured document with its metadata.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FeaturedDocumentWithMetadata.Builder> |
serializableBuilderClass() |
String |
title()
The main title of the featured document.
|
FeaturedDocumentWithMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uri()
The source URI location of the featured document.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the featured document with its metadata. 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 final String title()
The main title of the featured document.
public final String uri()
The source URI location of the featured document.
public FeaturedDocumentWithMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FeaturedDocumentWithMetadata.Builder,FeaturedDocumentWithMetadata>public static FeaturedDocumentWithMetadata.Builder builder()
public static Class<? extends FeaturedDocumentWithMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.