Interface ReasoningContentBlock.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReasoningContentBlock.Builder,
,ReasoningContentBlock> SdkBuilder<ReasoningContentBlock.Builder,
,ReasoningContentBlock> SdkPojo
- Enclosing class:
ReasoningContentBlock
@Mutable
@NotThreadSafe
public static interface ReasoningContentBlock.Builder
extends SdkPojo, CopyableBuilder<ReasoningContentBlock.Builder,ReasoningContentBlock>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ReasoningContentBlock.Builder
reasoningText
(Consumer<ReasoningTextBlock.Builder> reasoningText) The reasoning that the model used to return the output.reasoningText
(ReasoningTextBlock reasoningText) The reasoning that the model used to return the output.redactedContent
(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 Details
-
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.Builder
avoiding the need to create one manually viaReasoningTextBlock.builder()
.When the
Consumer
completes,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:
-
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.
-