Interface RerankingMetadataSelectiveModeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,,RerankingMetadataSelectiveModeConfiguration> SdkBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,,RerankingMetadataSelectiveModeConfiguration> SdkPojo
- Enclosing class:
RerankingMetadataSelectiveModeConfiguration
@Mutable
@NotThreadSafe
public static interface RerankingMetadataSelectiveModeConfiguration.Builder
extends SdkPojo, CopyableBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,RerankingMetadataSelectiveModeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfieldsToExclude(Collection<FieldForReranking> fieldsToExclude) Specifies the metadata fields to exclude from the reranking process.fieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude) Specifies the metadata fields to exclude from the reranking process.fieldsToExclude(FieldForReranking... fieldsToExclude) Specifies the metadata fields to exclude from the reranking process.fieldsToInclude(Collection<FieldForReranking> fieldsToInclude) Specifies the metadata fields to include in the reranking process.fieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude) Specifies the metadata fields to include in the reranking process.fieldsToInclude(FieldForReranking... fieldsToInclude) Specifies the metadata fields to include in the reranking process.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) Specifies the metadata fields to include in the reranking process.
- Parameters:
fieldsToInclude- Specifies the metadata fields to include in the reranking process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(FieldForReranking... fieldsToInclude) Specifies the metadata fields to include in the reranking process.
- Parameters:
fieldsToInclude- Specifies the metadata fields to include in the reranking process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude) Specifies the metadata fields to include in the reranking process.
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) Specifies the metadata fields to exclude from the reranking process.
- Parameters:
fieldsToExclude- Specifies the metadata fields to exclude from the reranking process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(FieldForReranking... fieldsToExclude) Specifies the metadata fields to exclude from the reranking process.
- Parameters:
fieldsToExclude- Specifies the metadata fields to exclude from the reranking process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude) Specifies the metadata fields to exclude from the reranking process.
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:
-