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.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.
|