Interface RerankingMetadataSelectiveModeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,,RerankingMetadataSelectiveModeConfiguration> SdkBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,,RerankingMetadataSelectiveModeConfiguration> SdkPojo
- Enclosing class:
RerankingMetadataSelectiveModeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionfieldsToExclude(Collection<FieldForReranking> fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.fieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.fieldsToExclude(FieldForReranking... fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.fieldsToInclude(Collection<FieldForReranking> fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking.fieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking.fieldsToInclude(FieldForReranking... fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(Collection<FieldForReranking> fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.
- Parameters:
fieldsToInclude- An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(FieldForReranking... fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.
- Parameters:
fieldsToInclude- An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude) An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.
This is a convenience method that creates an instance of theFieldForReranking.Builderavoiding the need to create one manually viaFieldForReranking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldsToInclude(List<FieldForReranking>).- Parameters:
fieldsToInclude- a consumer that will call methods onFieldForReranking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(Collection<FieldForReranking> fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.
- Parameters:
fieldsToExclude- An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(FieldForReranking... fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.
- Parameters:
fieldsToExclude- An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude) An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.
This is a convenience method that creates an instance of theFieldForReranking.Builderavoiding the need to create one manually viaFieldForReranking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldsToExclude(List<FieldForReranking>).- Parameters:
fieldsToExclude- a consumer that will call methods onFieldForReranking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-