Interface RerankingConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RerankingConfiguration.Builder,,- RerankingConfiguration> - SdkBuilder<RerankingConfiguration.Builder,,- RerankingConfiguration> - SdkPojo
- Enclosing class:
- RerankingConfiguration
@Mutable
@NotThreadSafe
public static interface RerankingConfiguration.Builder
extends SdkPojo, CopyableBuilder<RerankingConfiguration.Builder,RerankingConfiguration> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault RerankingConfiguration.BuilderbedrockRerankingConfiguration(Consumer<BedrockRerankingConfiguration.Builder> bedrockRerankingConfiguration) Contains configurations for an Amazon Bedrock reranker.bedrockRerankingConfiguration(BedrockRerankingConfiguration bedrockRerankingConfiguration) Contains configurations for an Amazon Bedrock reranker.The type of reranker that the configurations apply to.The type of reranker that the configurations apply to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
typeThe type of reranker that the configurations apply to. - Parameters:
- type- The type of reranker that the configurations apply to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of reranker that the configurations apply to. - Parameters:
- type- The type of reranker that the configurations apply to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
bedrockRerankingConfigurationRerankingConfiguration.Builder bedrockRerankingConfiguration(BedrockRerankingConfiguration bedrockRerankingConfiguration) Contains configurations for an Amazon Bedrock reranker. - Parameters:
- bedrockRerankingConfiguration- Contains configurations for an Amazon Bedrock reranker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bedrockRerankingConfigurationdefault RerankingConfiguration.Builder bedrockRerankingConfiguration(Consumer<BedrockRerankingConfiguration.Builder> bedrockRerankingConfiguration) Contains configurations for an Amazon Bedrock reranker. This is a convenience method that creates an instance of theBedrockRerankingConfiguration.Builderavoiding the need to create one manually viaBedrockRerankingConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockRerankingConfiguration(BedrockRerankingConfiguration).- Parameters:
- bedrockRerankingConfiguration- a consumer that will call methods on- BedrockRerankingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-