Class DocumentMetadataConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.DocumentMetadataConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentMetadataConfiguration.Builder,DocumentMetadataConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DocumentMetadataConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentMetadataConfiguration.Builder,DocumentMetadataConfiguration>
Specifies the properties, such as relevance tuning and searchability, of an index field.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentMetadataConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentMetadataConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the index field.Relevancerelevance()Provides tuning parameters to determine how the field affects the search results.List<SdkField<?>>sdkFields()Searchsearch()Provides information about how the field is used during a search.static Class<? extends DocumentMetadataConfiguration.Builder>serializableBuilderClass()DocumentMetadataConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.DocumentAttributeValueTypetype()The data type of the index field.StringtypeAsString()The data type of the index field.-
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
-
name
public final String name()
The name of the index field.
- Returns:
- The name of the index field.
-
type
public final DocumentAttributeValueType type()
The data type of the index field.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDocumentAttributeValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the index field.
- See Also:
DocumentAttributeValueType
-
typeAsString
public final String typeAsString()
The data type of the index field.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDocumentAttributeValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The data type of the index field.
- See Also:
DocumentAttributeValueType
-
relevance
public final Relevance relevance()
Provides tuning parameters to determine how the field affects the search results.
- Returns:
- Provides tuning parameters to determine how the field affects the search results.
-
search
public final Search search()
Provides information about how the field is used during a search.
- Returns:
- Provides information about how the field is used during a search.
-
toBuilder
public DocumentMetadataConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentMetadataConfiguration.Builder,DocumentMetadataConfiguration>
-
builder
public static DocumentMetadataConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentMetadataConfiguration.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.
-
-