Interface ReasoningContentBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReasoningContentBlock.Builder,ReasoningContentBlock>,SdkBuilder<ReasoningContentBlock.Builder,ReasoningContentBlock>,SdkPojo
- Enclosing class:
- ReasoningContentBlock
public static interface ReasoningContentBlock.Builder extends SdkPojo, CopyableBuilder<ReasoningContentBlock.Builder,ReasoningContentBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ReasoningContentBlock.BuilderreasoningText(Consumer<ReasoningTextBlock.Builder> reasoningText)The reasoning that the model used to return the output.ReasoningContentBlock.BuilderreasoningText(ReasoningTextBlock reasoningText)The reasoning that the model used to return the output.ReasoningContentBlock.BuilderredactedContent(SdkBytes redactedContent)The content in the reasoning that was encrypted by the model provider for safety reasons.-
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
-
reasoningText
ReasoningContentBlock.Builder reasoningText(ReasoningTextBlock reasoningText)
The reasoning that the model used to return the output.
- Parameters:
reasoningText- The reasoning that the model used to return the output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoningText
default ReasoningContentBlock.Builder reasoningText(Consumer<ReasoningTextBlock.Builder> reasoningText)
The reasoning that the model used to return the output.
This is a convenience method that creates an instance of theReasoningTextBlock.Builderavoiding the need to create one manually viaReasoningTextBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasoningText(ReasoningTextBlock).- Parameters:
reasoningText- a consumer that will call methods onReasoningTextBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
reasoningText(ReasoningTextBlock)
-
redactedContent
ReasoningContentBlock.Builder redactedContent(SdkBytes redactedContent)
The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.
- Parameters:
redactedContent- The content in the reasoning that was encrypted by the model provider for safety reasons. The encryption doesn't affect the quality of responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-