Interface OrchestrationModelInvocationOutput.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<OrchestrationModelInvocationOutput.Builder,,- OrchestrationModelInvocationOutput> - SdkBuilder<OrchestrationModelInvocationOutput.Builder,,- OrchestrationModelInvocationOutput> - SdkPojo
- Enclosing class:
- OrchestrationModelInvocationOutput
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
traceIdThe 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.
 
- 
rawResponseContains 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.
 
- 
rawResponsedefault 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.Builderavoiding the need to create one manually viaRawResponse.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torawResponse(RawResponse).- Parameters:
- rawResponse- a consumer that will call methods on- RawResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
metadataContains 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.
 
- 
metadataContains information about the foundation model output from the orchestration step. This is a convenience method that creates an instance of theMetadata.Builderavoiding the need to create one manually viaMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(Metadata).- Parameters:
- metadata- a consumer that will call methods on- Metadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
reasoningContentContains 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.
 
- 
reasoningContentdefault 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.Builderavoiding the need to create one manually viaReasoningContentBlock.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasoningContent(ReasoningContentBlock).- Parameters:
- reasoningContent- a consumer that will call methods on- ReasoningContentBlock.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-