Interface HarnessReasoningContentBlock.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HarnessReasoningContentBlock.Builder,,HarnessReasoningContentBlock> SdkBuilder<HarnessReasoningContentBlock.Builder,,HarnessReasoningContentBlock> SdkPojo
- Enclosing class:
HarnessReasoningContentBlock
@Mutable
@NotThreadSafe
public static interface HarnessReasoningContentBlock.Builder
extends SdkPojo, CopyableBuilder<HarnessReasoningContentBlock.Builder,HarnessReasoningContentBlock>
-
Method Summary
Modifier and TypeMethodDescriptionreasoningText(Consumer<HarnessReasoningTextBlock.Builder> reasoningText) The reasoning text.reasoningText(HarnessReasoningTextBlock reasoningText) The reasoning text.redactedContent(SdkBytes redactedContent) Redacted reasoning content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
reasoningText
The reasoning text.
- Parameters:
reasoningText- The reasoning text.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasoningText
default HarnessReasoningContentBlock.Builder reasoningText(Consumer<HarnessReasoningTextBlock.Builder> reasoningText) The reasoning text.
This is a convenience method that creates an instance of theHarnessReasoningTextBlock.Builderavoiding the need to create one manually viaHarnessReasoningTextBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreasoningText(HarnessReasoningTextBlock).- Parameters:
reasoningText- a consumer that will call methods onHarnessReasoningTextBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redactedContent
Redacted reasoning content.
- Parameters:
redactedContent- Redacted reasoning content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-