Interface DataDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataDetails.Builder,
,DataDetails> SdkBuilder<DataDetails.Builder,
,DataDetails> SdkPojo
- Enclosing class:
DataDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataDetails.Builder
contentData
(Consumer<ContentDataDetails.Builder> contentData) Details about the content data.contentData
(ContentDataDetails contentData) Details about the content data.default DataDetails.Builder
generativeChunkData
(Consumer<GenerativeChunkDataDetails.Builder> generativeChunkData) Details about the generative chunk data.generativeChunkData
(GenerativeChunkDataDetails generativeChunkData) Details about the generative chunk data.default DataDetails.Builder
generativeData
(Consumer<GenerativeDataDetails.Builder> generativeData) Details about the generative data.generativeData
(GenerativeDataDetails generativeData) Details about the generative data.default DataDetails.Builder
intentDetectedData
(Consumer<IntentDetectedDataDetails.Builder> intentDetectedData) Details about the intent data.intentDetectedData
(IntentDetectedDataDetails intentDetectedData) Details about the intent data.default DataDetails.Builder
sourceContentData
(Consumer<SourceContentDataDetails.Builder> sourceContentData) Details about the content data.sourceContentData
(SourceContentDataDetails sourceContentData) Details about the content data.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, sdkFieldNameToField, sdkFields
-
Method Details
-
contentData
Details about the content data.
- Parameters:
contentData
- Details about the content data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentData
Details about the content data.
This is a convenience method that creates an instance of theContentDataDetails.Builder
avoiding the need to create one manually viaContentDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontentData(ContentDataDetails)
.- Parameters:
contentData
- a consumer that will call methods onContentDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generativeData
Details about the generative data.
- Parameters:
generativeData
- Details about the generative data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeData
Details about the generative data.
This is a convenience method that creates an instance of theGenerativeDataDetails.Builder
avoiding the need to create one manually viaGenerativeDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togenerativeData(GenerativeDataDetails)
.- Parameters:
generativeData
- a consumer that will call methods onGenerativeDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentDetectedData
Details about the intent data.
- Parameters:
intentDetectedData
- Details about the intent data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentDetectedData
default DataDetails.Builder intentDetectedData(Consumer<IntentDetectedDataDetails.Builder> intentDetectedData) Details about the intent data.
This is a convenience method that creates an instance of theIntentDetectedDataDetails.Builder
avoiding the need to create one manually viaIntentDetectedDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointentDetectedData(IntentDetectedDataDetails)
.- Parameters:
intentDetectedData
- a consumer that will call methods onIntentDetectedDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceContentData
Details about the content data.
- Parameters:
sourceContentData
- Details about the content data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceContentData
default DataDetails.Builder sourceContentData(Consumer<SourceContentDataDetails.Builder> sourceContentData) Details about the content data.
This is a convenience method that creates an instance of theSourceContentDataDetails.Builder
avoiding the need to create one manually viaSourceContentDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceContentData(SourceContentDataDetails)
.- Parameters:
sourceContentData
- a consumer that will call methods onSourceContentDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generativeChunkData
Details about the generative chunk data.
- Parameters:
generativeChunkData
- Details about the generative chunk data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generativeChunkData
default DataDetails.Builder generativeChunkData(Consumer<GenerativeChunkDataDetails.Builder> generativeChunkData) Details about the generative chunk data.
This is a convenience method that creates an instance of theGenerativeChunkDataDetails.Builder
avoiding the need to create one manually viaGenerativeChunkDataDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togenerativeChunkData(GenerativeChunkDataDetails)
.- Parameters:
generativeChunkData
- a consumer that will call methods onGenerativeChunkDataDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-