Interface RerankSource.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RerankSource.Builder,,- RerankSource> - SdkBuilder<RerankSource.Builder,,- RerankSource> - SdkPojo
- Enclosing class:
- RerankSource
@Mutable
@NotThreadSafe
public static interface RerankSource.Builder
extends SdkPojo, CopyableBuilder<RerankSource.Builder,RerankSource> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault RerankSource.BuilderinlineDocumentSource(Consumer<RerankDocument.Builder> inlineDocumentSource) Contains an inline definition of a source for reranking.inlineDocumentSource(RerankDocument inlineDocumentSource) Contains an inline definition of a source for reranking.The type of the source.type(RerankSourceType type) The type of the source.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 the source. - Parameters:
- type- The type of the source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of the source. - Parameters:
- type- The type of the source.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
inlineDocumentSourceContains an inline definition of a source for reranking. - Parameters:
- inlineDocumentSource- Contains an inline definition of a source for reranking.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
inlineDocumentSourcedefault RerankSource.Builder inlineDocumentSource(Consumer<RerankDocument.Builder> inlineDocumentSource) Contains an inline definition of a source for reranking. This is a convenience method that creates an instance of theRerankDocument.Builderavoiding the need to create one manually viaRerankDocument.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinlineDocumentSource(RerankDocument).- Parameters:
- inlineDocumentSource- a consumer that will call methods on- RerankDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-