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 TypeMethodDescriptionmetadata
(Consumer<Metadata.Builder> metadata) Sets the value of the Metadata property for this object.Sets the value of the Metadata property for this object.parsedResponse
(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.rawResponse
(Consumer<RawResponse.Builder> rawResponse) Sets the value of the RawResponse property for this object.rawResponse
(RawResponse rawResponse) Sets the value of the RawResponse property for this object.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, sdkFields
-
Method Details
-
metadata
Sets the value of the Metadata property for this object.- Parameters:
metadata
- The new value for the Metadata property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Sets the value of the Metadata property for this object. 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:
-
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.Builder
avoiding the need to create one manually viaPostProcessingParsedResponse.builder()
.When the
Consumer
completes,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:
-
rawResponse
Sets the value of the RawResponse property for this object.- Parameters:
rawResponse
- The new value for the RawResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rawResponse
default PostProcessingModelInvocationOutput.Builder rawResponse(Consumer<RawResponse.Builder> rawResponse) Sets the value of the RawResponse property for this object. 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:
-
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.
-