static ContentBlock |
ContentBlock.fromCachePoint(Consumer<CachePointBlock.Builder> cachePoint) |
Create an instance of this class with cachePoint() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromCachePoint(CachePointBlock cachePoint) |
Create an instance of this class with cachePoint() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromDocument(Consumer<DocumentBlock.Builder> document) |
Create an instance of this class with document() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromDocument(DocumentBlock document) |
Create an instance of this class with document() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromGuardContent(Consumer<GuardrailConverseContentBlock.Builder> guardContent) |
Create an instance of this class with guardContent() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromGuardContent(GuardrailConverseContentBlock guardContent) |
Create an instance of this class with guardContent() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromImage(Consumer<ImageBlock.Builder> image) |
Create an instance of this class with image() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromImage(ImageBlock image) |
Create an instance of this class with image() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromReasoningContent(Consumer<ReasoningContentBlock.Builder> reasoningContent) |
|
static ContentBlock |
ContentBlock.fromReasoningContent(ReasoningContentBlock reasoningContent) |
|
static ContentBlock |
ContentBlock.fromText(String text) |
Create an instance of this class with text() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromToolResult(Consumer<ToolResultBlock.Builder> toolResult) |
Create an instance of this class with toolResult() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromToolResult(ToolResultBlock toolResult) |
Create an instance of this class with toolResult() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromToolUse(Consumer<ToolUseBlock.Builder> toolUse) |
Create an instance of this class with toolUse() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromToolUse(ToolUseBlock toolUse) |
Create an instance of this class with toolUse() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromVideo(Consumer<VideoBlock.Builder> video) |
Create an instance of this class with video() initialized to the given value.
|
static ContentBlock |
ContentBlock.fromVideo(VideoBlock video) |
Create an instance of this class with video() initialized to the given value.
|