Interface ResultData.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<ResultData.Builder,,ResultData> SdkBuilder<ResultData.Builder,,ResultData> SdkPojo
- Enclosing class:
 ResultData
public static interface ResultData.Builder
extends SdkPojo, CopyableBuilder<ResultData.Builder,ResultData> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault ResultData.Builderdocument(Consumer<Document.Builder> document) The document.The document.relevanceScore(Double relevanceScore) The relevance score of the results.The identifier of the result data.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, sdkFields 
- 
Method Details
- 
document
The document.
- Parameters:
 document- The document.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
document
The document.
This is a convenience method that creates an instance of theDocument.Builderavoiding the need to create one manually viaDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocument(Document).- Parameters:
 document- a consumer that will call methods onDocument.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
relevanceScore
The relevance score of the results.
- Parameters:
 relevanceScore- The relevance score of the results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
resultId
The identifier of the result data.
- Parameters:
 resultId- The identifier of the result data.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -