Interface SourceContentDataDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceContentDataDetails.Builder,
,SourceContentDataDetails> SdkBuilder<SourceContentDataDetails.Builder,
,SourceContentDataDetails> SdkPojo
- Enclosing class:
SourceContentDataDetails
public static interface SourceContentDataDetails.Builder
extends SdkPojo, CopyableBuilder<SourceContentDataDetails.Builder,SourceContentDataDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the source content.default SourceContentDataDetails.Builder
rankingData
(Consumer<RankingData.Builder> rankingData) Details about the source content ranking data.rankingData
(RankingData rankingData) Details about the source content ranking data.default SourceContentDataDetails.Builder
textData
(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
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
-
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.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:
-
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.Builder
avoiding the need to create one manually viaTextData.builder()
.When the
Consumer
completes,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:
-