Class MetadataConfigurationForReranking
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetadataConfigurationForReranking.Builder,MetadataConfigurationForReranking>
Contains configurations for the metadata to use in reranking.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()Specifies whether to consider all metadata when reranking, or only the metadata that you select.final StringSpecifies whether to consider all metadata when reranking, or only the metadata that you select.Contains configurations for the metadata fields to include or exclude when considering reranking.static Class<? extends MetadataConfigurationForReranking.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
selectionMode
Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify
SELECTIVE, include theselectiveModeConfigurationfield.If the service returns an enum value that is not available in the current SDK version,
selectionModewill returnRerankingMetadataSelectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectionModeAsString().- Returns:
- Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you
specify
SELECTIVE, include theselectiveModeConfigurationfield. - See Also:
-
selectionModeAsString
Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify
SELECTIVE, include theselectiveModeConfigurationfield.If the service returns an enum value that is not available in the current SDK version,
selectionModewill returnRerankingMetadataSelectionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromselectionModeAsString().- Returns:
- Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you
specify
SELECTIVE, include theselectiveModeConfigurationfield. - See Also:
-
selectiveModeConfiguration
Contains configurations for the metadata fields to include or exclude when considering reranking.
- Returns:
- Contains configurations for the metadata fields to include or exclude when considering reranking.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetadataConfigurationForReranking.Builder,MetadataConfigurationForReranking>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-