Interface GenerativeDataDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GenerativeDataDetails.Builder,
,GenerativeDataDetails> SdkBuilder<GenerativeDataDetails.Builder,
,GenerativeDataDetails> SdkPojo
- Enclosing class:
GenerativeDataDetails
public static interface GenerativeDataDetails.Builder
extends SdkPojo, CopyableBuilder<GenerativeDataDetails.Builder,GenerativeDataDetails>
-
Method Summary
Modifier and TypeMethodDescriptioncompletion
(String completion) The LLM response.default GenerativeDataDetails.Builder
rankingData
(Consumer<RankingData.Builder> rankingData) Details about the generative content ranking data.rankingData
(RankingData rankingData) Details about the generative content ranking data.references
(Collection<DataSummary> references) The references used to generative the LLM response.references
(Consumer<DataSummary.Builder>... references) The references used to generative the LLM response.references
(DataSummary... references) The references used to generative the LLM response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
completion
The LLM response.
- Parameters:
completion
- The LLM response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rankingData
Details about the generative content ranking data.
- Parameters:
rankingData
- Details about the generative content ranking data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rankingData
Details about the generative content ranking data.
This is a convenience method that creates an instance of theRankingData.Builder
avoiding the need to create one manually viaRankingData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torankingData(RankingData)
.- Parameters:
rankingData
- a consumer that will call methods onRankingData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
references
The references used to generative the LLM response.
- Parameters:
references
- The references used to generative the LLM response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
The references used to generative the LLM response.
- Parameters:
references
- The references used to generative the LLM response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
references
The references used to generative the LLM response.
This is a convenience method that creates an instance of theDataSummary.Builder
avoiding the need to create one manually viaDataSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferences(List<DataSummary>)
.- Parameters:
references
- a consumer that will call methods onDataSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-