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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SourceContentDataDetails.Builderid(String id)The identifier of the source content.default SourceContentDataDetails.BuilderrankingData(Consumer<RankingData.Builder> rankingData)Details about the source content ranking data.SourceContentDataDetails.BuilderrankingData(RankingData rankingData)Details about the source content ranking data.default SourceContentDataDetails.BuildertextData(Consumer<TextData.Builder> textData)Details about the source content text data.SourceContentDataDetails.BuildertextData(TextData textData)Details about the source content text data.SourceContentDataDetails.Buildertype(String type)The type of the source content.SourceContentDataDetails.Buildertype(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 Detail
-
id
SourceContentDataDetails.Builder id(String 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
SourceContentDataDetails.Builder rankingData(RankingData 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
default SourceContentDataDetails.Builder rankingData(Consumer<RankingData.Builder> 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:
rankingData(RankingData)
-
textData
SourceContentDataDetails.Builder textData(TextData 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
default SourceContentDataDetails.Builder textData(Consumer<TextData.Builder> 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:
textData(TextData)
-
type
SourceContentDataDetails.Builder type(String 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:
SourceContentType,SourceContentType
-
type
SourceContentDataDetails.Builder type(SourceContentType 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:
SourceContentType,SourceContentType
-
-