| Package | Description |
|---|---|
| com.amazonaws.services.bedrockruntime.model |
| Modifier and Type | Method and Description |
|---|---|
ContentBlock |
ContentBlock.clone() |
ContentBlock |
ContentBlock.withDocument(DocumentBlock document)
A document to include in the message.
|
ContentBlock |
ContentBlock.withGuardContent(GuardrailConverseContentBlock guardContent)
Contains the content to assess with the guardrail.
|
ContentBlock |
ContentBlock.withImage(ImageBlock image)
Image to include in the message.
|
ContentBlock |
ContentBlock.withText(String text)
Text to include in the message.
|
ContentBlock |
ContentBlock.withToolResult(ToolResultBlock toolResult)
The result for a tool request that a model makes.
|
| Modifier and Type | Method and Description |
|---|---|
List<ContentBlock> |
Message.getContent()
The message content.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.withContent(ContentBlock... content)
The message content.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Message.setContent(Collection<ContentBlock> content)
The message content.
|
Message |
Message.withContent(Collection<ContentBlock> content)
The message content.
|
Copyright © 2025. All rights reserved.