Class PostProcessingModelInvocationOutput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.PostProcessingModelInvocationOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PostProcessingModelInvocationOutput.Builder,PostProcessingModelInvocationOutput>
@Generated("software.amazon.awssdk:codegen") public final class PostProcessingModelInvocationOutput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PostProcessingModelInvocationOutput.Builder,PostProcessingModelInvocationOutput>
The foundation model output from the post-processing step.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePostProcessingModelInvocationOutput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostProcessingModelInvocationOutput.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Metadatametadata()Contains information about the foundation model output from the post-processing step.PostProcessingParsedResponseparsedResponse()Details about the response from the Lambda parsing of the output of the post-processing step.RawResponserawResponse()Details of the raw response from the foundation model output.ReasoningContentBlockreasoningContent()Contains content about the reasoning that the model made during the post-processing step.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PostProcessingModelInvocationOutput.Builder>serializableBuilderClass()PostProcessingModelInvocationOutput.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtraceId()The unique identifier of the trace.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
traceId
public final String traceId()
The unique identifier of the trace.
- Returns:
- The unique identifier of the trace.
-
parsedResponse
public final PostProcessingParsedResponse parsedResponse()
Details about the response from the Lambda parsing of the output of the post-processing step.
- Returns:
- Details about the response from the Lambda parsing of the output of the post-processing step.
-
rawResponse
public final RawResponse rawResponse()
Details of the raw response from the foundation model output.
- Returns:
- Details of the raw response from the foundation model output.
-
metadata
public final Metadata metadata()
Contains information about the foundation model output from the post-processing step.
- Returns:
- Contains information about the foundation model output from the post-processing step.
-
reasoningContent
public final ReasoningContentBlock reasoningContent()
Contains content about the reasoning that the model made during the post-processing step.
- Returns:
- Contains content about the reasoning that the model made during the post-processing step.
-
toBuilder
public PostProcessingModelInvocationOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PostProcessingModelInvocationOutput.Builder,PostProcessingModelInvocationOutput>
-
builder
public static PostProcessingModelInvocationOutput.Builder builder()
-
serializableBuilderClass
public static Class<? extends PostProcessingModelInvocationOutput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-