Class ConflictingItem
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.ConflictingItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConflictingItem.Builder,ConflictingItem>
@Generated("software.amazon.awssdk:codegen") public final class ConflictingItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConflictingItem.Builder,ConflictingItem>
Information about a conflicting query used across different sets of featured results. When you create a featured results set, you must check that the queries are unique per featured results set for each index.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConflictingItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConflictingItem.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringqueryText()The text of the conflicting query.List<SdkField<?>>sdkFields()static Class<? extends ConflictingItem.Builder>serializableBuilderClass()StringsetId()The identifier of the set of featured results that the conflicting query belongs to.StringsetName()The name for the set of featured results that the conflicting query belongs to.ConflictingItem.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
-
queryText
public final String queryText()
The text of the conflicting query.
- Returns:
- The text of the conflicting query.
-
setName
public final String setName()
The name for the set of featured results that the conflicting query belongs to.
- Returns:
- The name for the set of featured results that the conflicting query belongs to.
-
setId
public final String setId()
The identifier of the set of featured results that the conflicting query belongs to.
- Returns:
- The identifier of the set of featured results that the conflicting query belongs to.
-
toBuilder
public ConflictingItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConflictingItem.Builder,ConflictingItem>
-
builder
public static ConflictingItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConflictingItem.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.
-
-