Interface PreProcessingModelInvocationOutput.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PreProcessingModelInvocationOutput.Builder,PreProcessingModelInvocationOutput>
,SdkBuilder<PreProcessingModelInvocationOutput.Builder,PreProcessingModelInvocationOutput>
,SdkPojo
- Enclosing class:
- PreProcessingModelInvocationOutput
public static interface PreProcessingModelInvocationOutput.Builder extends SdkPojo, CopyableBuilder<PreProcessingModelInvocationOutput.Builder,PreProcessingModelInvocationOutput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PreProcessingModelInvocationOutput.Builder
parsedResponse(Consumer<PreProcessingParsedResponse.Builder> parsedResponse)
Sets the value of the ParsedResponse property for this object.PreProcessingModelInvocationOutput.Builder
parsedResponse(PreProcessingParsedResponse parsedResponse)
Sets the value of the ParsedResponse property for this object.PreProcessingModelInvocationOutput.Builder
traceId(String traceId)
Sets the value of the TraceId property for this object.-
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 Detail
-
traceId
PreProcessingModelInvocationOutput.Builder traceId(String traceId)
Sets the value of the TraceId property for this object.- Parameters:
traceId
- The new value for the TraceId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsedResponse
PreProcessingModelInvocationOutput.Builder parsedResponse(PreProcessingParsedResponse parsedResponse)
Sets the value of the ParsedResponse property for this object.- Parameters:
parsedResponse
- The new value for the ParsedResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsedResponse
default PreProcessingModelInvocationOutput.Builder parsedResponse(Consumer<PreProcessingParsedResponse.Builder> parsedResponse)
Sets the value of the ParsedResponse property for this object. This is a convenience method that creates an instance of thePreProcessingParsedResponse.Builder
avoiding the need to create one manually viaPreProcessingParsedResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparsedResponse(PreProcessingParsedResponse)
.- Parameters:
parsedResponse
- a consumer that will call methods onPreProcessingParsedResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parsedResponse(PreProcessingParsedResponse)
-
-