Class FeaturedResultsSetSummary
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.FeaturedResultsSetSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FeaturedResultsSetSummary.Builder,FeaturedResultsSetSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFeaturedResultsSetSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeaturedResultsSetSummary.Builderbuilder()LongcreationTimestamp()The Unix timestamp when the set of featured results was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeaturedResultsSetId()The identifier of the set of featured results.StringfeaturedResultsSetName()The name for the set of featured results.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastUpdatedTimestamp()The Unix timestamp when the set of featured results was last updated.List<SdkField<?>>sdkFields()static Class<? extends FeaturedResultsSetSummary.Builder>serializableBuilderClass()FeaturedResultsSetStatusstatus()The current status of the set of featured results.StringstatusAsString()The current status of the set of featured results.FeaturedResultsSetSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
featuredResultsSetId
public final String featuredResultsSetId()
The identifier of the set of featured results.
- Returns:
- The identifier of the set of featured results.
-
featuredResultsSetName
public final String featuredResultsSetName()
The name for the set of featured results.
- Returns:
- The name for the set of featured results.
-
status
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 toACTIVE. You can set the status toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeaturedResultsSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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 toACTIVE. You can set the status toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE. - See Also:
FeaturedResultsSetStatus
-
statusAsString
public 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 toACTIVE. You can set the status toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE.If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeaturedResultsSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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 toACTIVE. You can set the status toACTIVEorINACTIVEusing the UpdateFeaturedResultsSet API. The queries you specify for featured results must be unique per featured results set for each index, whether the status isACTIVEorINACTIVE. - See Also:
FeaturedResultsSetStatus
-
lastUpdatedTimestamp
public final Long lastUpdatedTimestamp()
The Unix timestamp when the set of featured results was last updated.
- Returns:
- The Unix timestamp when the set of featured results was last updated.
-
creationTimestamp
public final Long creationTimestamp()
The Unix timestamp when the set of featured results was created.
- Returns:
- The Unix timestamp when the set of featured results was created.
-
toBuilder
public FeaturedResultsSetSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FeaturedResultsSetSummary.Builder,FeaturedResultsSetSummary>
-
builder
public static FeaturedResultsSetSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends FeaturedResultsSetSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-