Interface ReasoningTextBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>,SdkBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>,SdkPojo
- Enclosing class:
- ReasoningTextBlock
@Mutable @NotThreadSafe public static interface ReasoningTextBlock.Builder extends SdkPojo, CopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReasoningTextBlock.Buildersignature(String signature)A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with.ReasoningTextBlock.Buildertext(String text)Text describing the reasoning that the model used to return the content in the content block.-
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
-
signature
ReasoningTextBlock.Builder signature(String signature)
A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with. You must submit the signature in subsequent
Converserequests, in addition to the previous messages. If the previous messages are tampered with, the response throws an error.- Parameters:
signature- A hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with. You must submit the signature in subsequentConverserequests, in addition to the previous messages. If the previous messages are tampered with, the response throws an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
ReasoningTextBlock.Builder text(String text)
Text describing the reasoning that the model used to return the content in the content block.
- Parameters:
text- Text describing the reasoning that the model used to return the content in the content block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-