Interface OrchestrationModelInvocationOutput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OrchestrationModelInvocationOutput.Builder,
,OrchestrationModelInvocationOutput> SdkBuilder<OrchestrationModelInvocationOutput.Builder,
,OrchestrationModelInvocationOutput> SdkPojo
- Enclosing class:
OrchestrationModelInvocationOutput
-
Method Summary
Modifier and TypeMethodDescriptionmetadata
(Consumer<Metadata.Builder> metadata) Contains information about the foundation model output from the orchestration step.Contains information about the foundation model output from the orchestration step.rawResponse
(Consumer<RawResponse.Builder> rawResponse) Contains details of the raw response from the foundation model output.rawResponse
(RawResponse rawResponse) Contains details of the raw response from the foundation model output.reasoningContent
(Consumer<ReasoningContentBlock.Builder> reasoningContent) Contains content about the reasoning that the model made during the orchestration step.reasoningContent
(ReasoningContentBlock reasoningContent) Contains content about the reasoning that the model made during the orchestration step.The unique identifier of the trace.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
-
metadata
Contains information about the foundation model output from the orchestration step.
- Parameters:
metadata
- Contains information about the foundation model output from the orchestration step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Contains information about the foundation model output from the orchestration step.
This is a convenience method that creates an instance of theMetadata.Builder
avoiding the need to create one manually viaMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(Metadata)
.- Parameters:
metadata
- a consumer that will call methods onMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rawResponse
Contains details of the raw response from the foundation model output.
- Parameters:
rawResponse
- Contains details of the raw response from the foundation model output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawResponse
default OrchestrationModelInvocationOutput.Builder rawResponse(Consumer<RawResponse.Builder> rawResponse) Contains details of the raw response from the foundation model output.
This is a convenience method that creates an instance of theRawResponse.Builder
avoiding the need to create one manually viaRawResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torawResponse(RawResponse)
.- Parameters:
rawResponse
- a consumer that will call methods onRawResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasoningContent
Contains content about the reasoning that the model made during the orchestration step.
- Parameters:
reasoningContent
- Contains content about the reasoning that the model made during the orchestration step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoningContent
default OrchestrationModelInvocationOutput.Builder reasoningContent(Consumer<ReasoningContentBlock.Builder> reasoningContent) Contains content about the reasoning that the model made during the orchestration step.
This is a convenience method that creates an instance of theReasoningContentBlock.Builder
avoiding the need to create one manually viaReasoningContentBlock.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreasoningContent(ReasoningContentBlock)
.- Parameters:
reasoningContent
- a consumer that will call methods onReasoningContentBlock.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traceId
The unique identifier of the trace.
- Parameters:
traceId
- The unique identifier of the trace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-