Class ExpandConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.ExpandConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExpandConfiguration.Builder,ExpandConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ExpandConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExpandConfiguration.Builder,ExpandConfiguration>
Specifies the configuration information needed to customize how collapsed search result groups expand.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExpandConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpandConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxExpandedResultsPerItem()The number of expanded results to show per collapsed primary document.IntegermaxResultItemsToExpand()The number of collapsed search result groups to expand.List<SdkField<?>>sdkFields()static Class<? extends ExpandConfiguration.Builder>serializableBuilderClass()ExpandConfiguration.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
-
maxResultItemsToExpand
public final Integer maxResultItemsToExpand()
The number of collapsed search result groups to expand. If you set this value to 10, for example, only the first 10 out of 100 result groups will have expand functionality.
- Returns:
- The number of collapsed search result groups to expand. If you set this value to 10, for example, only the first 10 out of 100 result groups will have expand functionality.
-
maxExpandedResultsPerItem
public final Integer maxExpandedResultsPerItem()
The number of expanded results to show per collapsed primary document. For instance, if you set this value to 3, then at most 3 results per collapsed group will be displayed.
- Returns:
- The number of expanded results to show per collapsed primary document. For instance, if you set this value to 3, then at most 3 results per collapsed group will be displayed.
-
toBuilder
public ExpandConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExpandConfiguration.Builder,ExpandConfiguration>
-
builder
public static ExpandConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExpandConfiguration.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.
-
-