Class ReasoningTextBlock
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.ReasoningTextBlock
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>
@Generated("software.amazon.awssdk:codegen")
public final class ReasoningTextBlock
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>
Contains information about the reasoning that the model used to return the content in the content block.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReasoningTextBlock.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ReasoningTextBlock.Builder>final StringA hash of all the messages in the conversation to ensure that the content in the reasoning text block isn't tampered with.final Stringtext()Text describing the reasoning that the model used to return the content in the content block.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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.- Returns:
- 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.
-
text
Text describing the reasoning that the model used to return the content in the content block.
- Returns:
- Text describing the reasoning that the model used to return the content in the content block.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReasoningTextBlock.Builder,ReasoningTextBlock>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-