@Generated(value="software.amazon.awssdk:codegen") public final class FeaturedResultsSetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeaturedResultsSetSummary.Builder,FeaturedResultsSetSummary>
Summary information for a set of featured results. Featured results are placed above all other results for certain queries. If there's an exact match of a query, then one or more specific documents are featured in the search results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FeaturedResultsSetSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FeaturedResultsSetSummary.Builder |
builder() |
Long |
creationTimestamp()
The Unix timestamp when the set of featured results was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
featuredResultsSetId()
The identifier of the set of featured results.
|
String |
featuredResultsSetName()
The name for the set of featured results.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastUpdatedTimestamp()
The Unix timestamp when the set of featured results was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FeaturedResultsSetSummary.Builder> |
serializableBuilderClass() |
FeaturedResultsSetStatus |
status()
The current status of the set of featured results.
|
String |
statusAsString()
The current status of the set of featured results.
|
FeaturedResultsSetSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String featuredResultsSetId()
The identifier of the set of featured results.
public final String featuredResultsSetName()
The name for the set of featured results.
public final FeaturedResultsSetStatus status()
The current status of the set of featured results. When the value is ACTIVE, featured results are
ready for use. You can still configure your settings before setting the status to ACTIVE. You can
set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return FeaturedResultsSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE or INACTIVE.FeaturedResultsSetStatuspublic final String statusAsString()
The current status of the set of featured results. When the value is ACTIVE, featured results are
ready for use. You can still configure your settings before setting the status to ACTIVE. You can
set the status to ACTIVE or INACTIVE using the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured
results set for each index, whether the status is ACTIVE or INACTIVE.
If the service returns an enum value that is not available in the current SDK version, status will
return FeaturedResultsSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
ACTIVE, featured
results are ready for use. You can still configure your settings before setting the status to
ACTIVE. You can set the status to ACTIVE or INACTIVE using the
UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per
featured results set for each index, whether the status is ACTIVE or INACTIVE.FeaturedResultsSetStatuspublic final Long lastUpdatedTimestamp()
The Unix timestamp when the set of featured results was last updated.
public final Long creationTimestamp()
The Unix timestamp when the set of featured results was created.
public FeaturedResultsSetSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FeaturedResultsSetSummary.Builder,FeaturedResultsSetSummary>public static FeaturedResultsSetSummary.Builder builder()
public static Class<? extends FeaturedResultsSetSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.