Interface OrchestrationModelInvocationOutput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<OrchestrationModelInvocationOutput.Builder,OrchestrationModelInvocationOutput>
,SdkBuilder<OrchestrationModelInvocationOutput.Builder,OrchestrationModelInvocationOutput>
,SdkPojo
- Enclosing class:
- OrchestrationModelInvocationOutput
public static interface OrchestrationModelInvocationOutput.Builder extends SdkPojo, CopyableBuilder<OrchestrationModelInvocationOutput.Builder,OrchestrationModelInvocationOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default OrchestrationModelInvocationOutput.Builder
metadata(Consumer<Metadata.Builder> metadata)
Contains information about the foundation model output from the orchestration step.OrchestrationModelInvocationOutput.Builder
metadata(Metadata metadata)
Contains information about the foundation model output from the orchestration step.default OrchestrationModelInvocationOutput.Builder
rawResponse(Consumer<RawResponse.Builder> rawResponse)
Contains details of the raw response from the foundation model output.OrchestrationModelInvocationOutput.Builder
rawResponse(RawResponse rawResponse)
Contains details of the raw response from the foundation model output.OrchestrationModelInvocationOutput.Builder
traceId(String traceId)
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 Detail
-
metadata
OrchestrationModelInvocationOutput.Builder metadata(Metadata 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
default OrchestrationModelInvocationOutput.Builder metadata(Consumer<Metadata.Builder> 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:
metadata(Metadata)
-
rawResponse
OrchestrationModelInvocationOutput.Builder rawResponse(RawResponse 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:
rawResponse(RawResponse)
-
traceId
OrchestrationModelInvocationOutput.Builder traceId(String 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.
-
-