Interface PostProcessingModelInvocationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PostProcessingModelInvocationOutput.Builder,,PostProcessingModelInvocationOutput> SdkBuilder<PostProcessingModelInvocationOutput.Builder,,PostProcessingModelInvocationOutput> SdkPojo
- Enclosing class:
PostProcessingModelInvocationOutput
public static interface PostProcessingModelInvocationOutput.Builder
extends SdkPojo, CopyableBuilder<PostProcessingModelInvocationOutput.Builder,PostProcessingModelInvocationOutput>
-
Method Summary
Modifier and TypeMethodDescriptionparsedResponse(Consumer<PostProcessingParsedResponse.Builder> parsedResponse) Details about the response from the Lambda parsing of the output of the post-processing step.parsedResponse(PostProcessingParsedResponse parsedResponse) Details about the response from the Lambda parsing of the output of the post-processing step.The unique identifier of the trace.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
parsedResponse
PostProcessingModelInvocationOutput.Builder parsedResponse(PostProcessingParsedResponse parsedResponse) Details about the response from the Lambda parsing of the output of the post-processing step.
- Parameters:
parsedResponse- Details about the response from the Lambda parsing of the output of the post-processing step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsedResponse
default PostProcessingModelInvocationOutput.Builder parsedResponse(Consumer<PostProcessingParsedResponse.Builder> parsedResponse) Details about the response from the Lambda parsing of the output of the post-processing step.
This is a convenience method that creates an instance of thePostProcessingParsedResponse.Builderavoiding the need to create one manually viaPostProcessingParsedResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparsedResponse(PostProcessingParsedResponse).- Parameters:
parsedResponse- a consumer that will call methods onPostProcessingParsedResponse.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.
-