Interface SourceContentDataDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceContentDataDetails.Builder,,SourceContentDataDetails> SdkBuilder<SourceContentDataDetails.Builder,,SourceContentDataDetails> SdkPojo
- Enclosing class:
SourceContentDataDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceContentDataDetails.BuildercitationSpan(Consumer<CitationSpan.Builder> citationSpan) Contains information about where the text with a citation begins and ends in the generated output.citationSpan(CitationSpan citationSpan) Contains information about where the text with a citation begins and ends in the generated output.The identifier of the source content.default SourceContentDataDetails.BuilderrankingData(Consumer<RankingData.Builder> rankingData) Details about the source content ranking data.rankingData(RankingData rankingData) Details about the source content ranking data.default SourceContentDataDetails.BuildertextData(Consumer<TextData.Builder> textData) Details about the source content text data.Details about the source content text data.The type of the source content.type(SourceContentType type) The type of the source content.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
-
citationSpan
Contains information about where the text with a citation begins and ends in the generated output.
- Parameters:
citationSpan- Contains information about where the text with a citation begins and ends in the generated output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
citationSpan
Contains information about where the text with a citation begins and ends in the generated output.
This is a convenience method that creates an instance of theCitationSpan.Builderavoiding the need to create one manually viaCitationSpan.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocitationSpan(CitationSpan).- Parameters:
citationSpan- a consumer that will call methods onCitationSpan.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The identifier of the source content.
- Parameters:
id- The identifier of the source content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rankingData
Details about the source content ranking data.
- Parameters:
rankingData- Details about the source content ranking data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rankingData
Details about the source content ranking data.
This is a convenience method that creates an instance of theRankingData.Builderavoiding the need to create one manually viaRankingData.builder().When the
Consumercompletes,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:
-
textData
Details about the source content text data.
- Parameters:
textData- Details about the source content text data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textData
Details about the source content text data.
This is a convenience method that creates an instance of theTextData.Builderavoiding the need to create one manually viaTextData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totextData(TextData).- Parameters:
textData- a consumer that will call methods onTextData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the source content.
- Parameters:
type- The type of the source content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the source content.
- Parameters:
type- The type of the source content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-