- getAccept() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The desired MIME type of the inference body in the response.
- getAdditionalModelResponseFieldPaths() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Additional model parameters field paths to return in the response.
- getAny() - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The model must request at least one tool (no text is generated).
- getAuto() - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model automatically decides if a tool should be called or to whether to generate text instead.
- getBody() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The prompt and inference parameters in the format specified in the contentType in the header.
- getBody() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
Inference response from the model in the format specified in the contentType header.
- getBytes() - Method in class com.amazonaws.services.bedrockruntime.model.ImageSource
-
The raw image bytes for the image.
- getCachedResponseMetadata(AmazonWebServiceRequest) - Method in class com.amazonaws.services.bedrockruntime.AbstractAmazonBedrockRuntime
-
- getCachedResponseMetadata(AmazonWebServiceRequest) - Method in interface com.amazonaws.services.bedrockruntime.AmazonBedrockRuntime
-
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
- getCachedResponseMetadata(AmazonWebServiceRequest) - Method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeClient
-
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
- getContent() - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The message content.
- getContent() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The content for tool result content block.
- getContentType() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The MIME type of the input data in the request.
- getContentType() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
The MIME type of the inference result.
- getDescription() - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The description for the tool.
- getExecutorService() - Method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeAsyncClient
-
Returns the executor service used by this client to execute async requests.
- getFormat() - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The format of the image.
- getGuardrailIdentifier() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the guardrail that you want to use.
- getGuardrailVersion() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The version number for the guardrail.
- getImage() - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Image to include in the message.
- getImage() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is an image.
- getInferenceConfig() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Inference parameters to pass to the model.
- getInputSchema() - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The input schema for the tool in JSON format.
- getInputTokens() - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens sent in the request to the model.
- getLatencyMs() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseMetrics
-
The latency of the call to Converse, in milliseconds.
- getMaxTokens() - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The maximum number of tokens to allow in the generated response.
- getMessage() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseOutput
-
The message that the model generates.
- getMessages() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The messages that you want to send to the model.
- getMetrics() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
Metrics for the call to Converse.
- getModelId() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The identifier for the model that you want to call.
- getModelId() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the model to invoke to run inference.
- getName() - Method in class com.amazonaws.services.bedrockruntime.model.SpecificToolChoice
-
The name of the tool that the model must request.
- getName() - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The name for the tool.
- getOriginalStatusCode() - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The original status code.
- getOutput() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The result from the call to Converse.
- getOutputTokens() - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens that the model generated for the request.
- getResourceName() - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The resource name.
- getRole() - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The role that the message plays in the message.
- getSource() - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The source for the image.
- getStatus() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The status for the tool result content block.
- getStopReason() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The reason why the model stopped generating output.
- getStopSequences() - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
A list of stop sequences.
- getSystem() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
A system prompt to pass to the model.
- getTemperature() - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The likelihood of the model selecting higher-probability options while generating a response.
- getText() - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Text to include in the message.
- getText() - Method in class com.amazonaws.services.bedrockruntime.model.SystemContentBlock
-
A system prompt for the model.
- getText() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is text.
- getTool() - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model must request the specified tool.
- getToolChoice() - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
If supported by model, forces the model to request a tool.
- getToolConfig() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Configuration information for the tools that the model can use when generating a response.
- getToolResult() - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
The result for a tool request that a model makes.
- getTools() - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
An array of tools that you want to pass to a model.
- getToolSpec() - Method in class com.amazonaws.services.bedrockruntime.model.Tool
-
The specfication for the tool.
- getToolUseId() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The ID of the tool request that this is the result for.
- getTopP() - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The percentage of most-likely candidates that the model considers for the next token.
- getTotalTokens() - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The total of input tokens and tokens generated by the model.
- getTrace() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
Specifies whether to enable or disable the Bedrock trace.
- getUsage() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The total number of tokens used in the call to Converse.
- ServiceQuotaExceededException - Exception in com.amazonaws.services.bedrockruntime.model
-
The number of requests exceeds the service quota.
- ServiceQuotaExceededException(String) - Constructor for exception com.amazonaws.services.bedrockruntime.model.ServiceQuotaExceededException
-
Constructs a new ServiceQuotaExceededException with the specified error message.
- setAccept(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The desired MIME type of the inference body in the response.
- setAdditionalModelResponseFieldPaths(Collection<String>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Additional model parameters field paths to return in the response.
- setAny(AnyToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The model must request at least one tool (no text is generated).
- setAuto(AutoToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model automatically decides if a tool should be called or to whether to generate text instead.
- setBody(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The prompt and inference parameters in the format specified in the contentType in the header.
- setBody(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
Inference response from the model in the format specified in the contentType header.
- setBytes(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.ImageSource
-
The raw image bytes for the image.
- setContent(Collection<ContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The message content.
- setContent(Collection<ToolResultContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The content for tool result content block.
- setContentType(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The MIME type of the input data in the request.
- setContentType(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
The MIME type of the inference result.
- setDescription(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The description for the tool.
- setFormat(String) - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The format of the image.
- setGuardrailIdentifier(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the guardrail that you want to use.
- setGuardrailVersion(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The version number for the guardrail.
- setImage(ImageBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Image to include in the message.
- setImage(ImageBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is an image.
- setInferenceConfig(InferenceConfiguration) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Inference parameters to pass to the model.
- setInputSchema(ToolInputSchema) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The input schema for the tool in JSON format.
- setInputTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens sent in the request to the model.
- setLatencyMs(Long) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseMetrics
-
The latency of the call to Converse, in milliseconds.
- setMaxTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The maximum number of tokens to allow in the generated response.
- setMessage(Message) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseOutput
-
The message that the model generates.
- setMessages(Collection<Message>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The messages that you want to send to the model.
- setMetrics(ConverseMetrics) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
Metrics for the call to Converse.
- setModelId(String) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The identifier for the model that you want to call.
- setModelId(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the model to invoke to run inference.
- setName(String) - Method in class com.amazonaws.services.bedrockruntime.model.SpecificToolChoice
-
The name of the tool that the model must request.
- setName(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The name for the tool.
- setOriginalStatusCode(Integer) - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The original status code.
- setOutput(ConverseOutput) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The result from the call to Converse.
- setOutputTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens that the model generated for the request.
- setResourceName(String) - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The resource name.
- setRole(String) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The role that the message plays in the message.
- setSource(ImageSource) - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The source for the image.
- setStatus(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The status for the tool result content block.
- setStopReason(String) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The reason why the model stopped generating output.
- setStopSequences(Collection<String>) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
A list of stop sequences.
- setSystem(Collection<SystemContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
A system prompt to pass to the model.
- setTemperature(Float) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The likelihood of the model selecting higher-probability options while generating a response.
- setText(String) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Text to include in the message.
- setText(String) - Method in class com.amazonaws.services.bedrockruntime.model.SystemContentBlock
-
A system prompt for the model.
- setText(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is text.
- setTool(SpecificToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model must request the specified tool.
- setToolChoice(ToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
If supported by model, forces the model to request a tool.
- setToolConfig(ToolConfiguration) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Configuration information for the tools that the model can use when generating a response.
- setToolResult(ToolResultBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
The result for a tool request that a model makes.
- setTools(Collection<Tool>) - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
An array of tools that you want to pass to a model.
- setToolSpec(ToolSpecification) - Method in class com.amazonaws.services.bedrockruntime.model.Tool
-
The specfication for the tool.
- setToolUseId(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The ID of the tool request that this is the result for.
- setTopP(Float) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The percentage of most-likely candidates that the model considers for the next token.
- setTotalTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The total of input tokens and tokens generated by the model.
- setTrace(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
Specifies whether to enable or disable the Bedrock trace.
- setUsage(TokenUsage) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The total number of tokens used in the call to Converse.
- shutdown() - Method in class com.amazonaws.services.bedrockruntime.AbstractAmazonBedrockRuntime
-
- shutdown() - Method in interface com.amazonaws.services.bedrockruntime.AmazonBedrockRuntime
-
Shuts down this client object, releasing any resources that might be held open.
- shutdown() - Method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeAsyncClient
-
Shuts down the client, releasing all managed resources.
- shutdown() - Method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeClient
-
- SpecificToolChoice - Class in com.amazonaws.services.bedrockruntime.model
-
The model must request a specific tool.
- SpecificToolChoice() - Constructor for class com.amazonaws.services.bedrockruntime.model.SpecificToolChoice
-
- standard() - Static method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeAsyncClientBuilder
-
- standard() - Static method in class com.amazonaws.services.bedrockruntime.AmazonBedrockRuntimeClientBuilder
-
- StopReason - Enum in com.amazonaws.services.bedrockruntime.model
-
- SystemContentBlock - Class in com.amazonaws.services.bedrockruntime.model
-
A system content block
- SystemContentBlock() - Constructor for class com.amazonaws.services.bedrockruntime.model.SystemContentBlock
-
- ThrottlingException - Exception in com.amazonaws.services.bedrockruntime.model
-
The number of requests exceeds the limit.
- ThrottlingException(String) - Constructor for exception com.amazonaws.services.bedrockruntime.model.ThrottlingException
-
Constructs a new ThrottlingException with the specified error message.
- TokenUsage - Class in com.amazonaws.services.bedrockruntime.model
-
The tokens used in a message API inference call.
- TokenUsage() - Constructor for class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
- Tool - Class in com.amazonaws.services.bedrockruntime.model
-
Information about a tool that you can use with the Converse API.
- Tool() - Constructor for class com.amazonaws.services.bedrockruntime.model.Tool
-
- ToolChoice - Class in com.amazonaws.services.bedrockruntime.model
-
Forces a model to use a tool.
- ToolChoice() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
- ToolConfiguration - Class in com.amazonaws.services.bedrockruntime.model
-
Configuration information for the tools that you pass to a model.
- ToolConfiguration() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
- ToolInputSchema - Class in com.amazonaws.services.bedrockruntime.model
-
The schema for the tool.
- ToolInputSchema() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolInputSchema
-
- ToolResultBlock - Class in com.amazonaws.services.bedrockruntime.model
-
A tool result block that contains the results for a tool request that the model previously made.
- ToolResultBlock() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
- ToolResultContentBlock - Class in com.amazonaws.services.bedrockruntime.model
-
The tool result content block.
- ToolResultContentBlock() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
- ToolResultStatus - Enum in com.amazonaws.services.bedrockruntime.model
-
- ToolSpecification - Class in com.amazonaws.services.bedrockruntime.model
-
The specification for the tool.
- ToolSpecification() - Constructor for class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.AnyToolChoice
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.AutoToolChoice
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Returns a string representation of this object.
- toString() - Method in enum com.amazonaws.services.bedrockruntime.model.ConversationRole
-
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseMetrics
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseOutput
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
Returns a string representation of this object.
- toString() - Method in enum com.amazonaws.services.bedrockruntime.model.ImageFormat
-
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ImageSource
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.SpecificToolChoice
-
Returns a string representation of this object.
- toString() - Method in enum com.amazonaws.services.bedrockruntime.model.StopReason
-
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.SystemContentBlock
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.Tool
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolInputSchema
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
Returns a string representation of this object.
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
Returns a string representation of this object.
- toString() - Method in enum com.amazonaws.services.bedrockruntime.model.ToolResultStatus
-
- toString() - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
Returns a string representation of this object.
- toString() - Method in enum com.amazonaws.services.bedrockruntime.model.Trace
-
- Trace - Enum in com.amazonaws.services.bedrockruntime.model
-
- ValidationException - Exception in com.amazonaws.services.bedrockruntime.model
-
Input validation failed.
- ValidationException(String) - Constructor for exception com.amazonaws.services.bedrockruntime.model.ValidationException
-
Constructs a new ValidationException with the specified error message.
- valueOf(String) - Static method in enum com.amazonaws.services.bedrockruntime.model.ConversationRole
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.services.bedrockruntime.model.ImageFormat
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.services.bedrockruntime.model.StopReason
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.services.bedrockruntime.model.ToolResultStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.amazonaws.services.bedrockruntime.model.Trace
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.amazonaws.services.bedrockruntime.model.ConversationRole
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.services.bedrockruntime.model.ImageFormat
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.services.bedrockruntime.model.StopReason
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.services.bedrockruntime.model.ToolResultStatus
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.amazonaws.services.bedrockruntime.model.Trace
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- withAccept(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The desired MIME type of the inference body in the response.
- withAdditionalModelResponseFieldPaths(String...) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Additional model parameters field paths to return in the response.
- withAdditionalModelResponseFieldPaths(Collection<String>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Additional model parameters field paths to return in the response.
- withAny(AnyToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The model must request at least one tool (no text is generated).
- withAuto(AutoToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model automatically decides if a tool should be called or to whether to generate text instead.
- withBody(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The prompt and inference parameters in the format specified in the contentType in the header.
- withBody(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
Inference response from the model in the format specified in the contentType header.
- withBytes(ByteBuffer) - Method in class com.amazonaws.services.bedrockruntime.model.ImageSource
-
The raw image bytes for the image.
- withContent(ContentBlock...) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The message content.
- withContent(Collection<ContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The message content.
- withContent(ToolResultContentBlock...) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The content for tool result content block.
- withContent(Collection<ToolResultContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The content for tool result content block.
- withContentType(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The MIME type of the input data in the request.
- withContentType(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelResult
-
The MIME type of the inference result.
- withDescription(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The description for the tool.
- withFormat(String) - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The format of the image.
- withFormat(ImageFormat) - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The format of the image.
- withGuardrailIdentifier(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the guardrail that you want to use.
- withGuardrailVersion(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The version number for the guardrail.
- withImage(ImageBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Image to include in the message.
- withImage(ImageBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is an image.
- withInferenceConfig(InferenceConfiguration) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Inference parameters to pass to the model.
- withInputSchema(ToolInputSchema) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The input schema for the tool in JSON format.
- withInputTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens sent in the request to the model.
- withLatencyMs(Long) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseMetrics
-
The latency of the call to Converse, in milliseconds.
- withMaxTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The maximum number of tokens to allow in the generated response.
- withMessage(Message) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseOutput
-
The message that the model generates.
- withMessages(Message...) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The messages that you want to send to the model.
- withMessages(Collection<Message>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The messages that you want to send to the model.
- withMetrics(ConverseMetrics) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
Metrics for the call to Converse.
- withModelId(String) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
The identifier for the model that you want to call.
- withModelId(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
The unique identifier of the model to invoke to run inference.
- withName(String) - Method in class com.amazonaws.services.bedrockruntime.model.SpecificToolChoice
-
The name of the tool that the model must request.
- withName(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolSpecification
-
The name for the tool.
- withOriginalStatusCode(Integer) - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The original status code.
- withOutput(ConverseOutput) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The result from the call to Converse.
- withOutputTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The number of tokens that the model generated for the request.
- withResourceName(String) - Method in exception com.amazonaws.services.bedrockruntime.model.ModelErrorException
-
The resource name.
- withRole(String) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The role that the message plays in the message.
- withRole(ConversationRole) - Method in class com.amazonaws.services.bedrockruntime.model.Message
-
The role that the message plays in the message.
- withSource(ImageSource) - Method in class com.amazonaws.services.bedrockruntime.model.ImageBlock
-
The source for the image.
- withStatus(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The status for the tool result content block.
- withStatus(ToolResultStatus) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The status for the tool result content block.
- withStopReason(String) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The reason why the model stopped generating output.
- withStopReason(StopReason) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The reason why the model stopped generating output.
- withStopSequences(String...) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
A list of stop sequences.
- withStopSequences(Collection<String>) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
A list of stop sequences.
- withSystem(SystemContentBlock...) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
A system prompt to pass to the model.
- withSystem(Collection<SystemContentBlock>) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
A system prompt to pass to the model.
- withTemperature(Float) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The likelihood of the model selecting higher-probability options while generating a response.
- withText(String) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
Text to include in the message.
- withText(String) - Method in class com.amazonaws.services.bedrockruntime.model.SystemContentBlock
-
A system prompt for the model.
- withText(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultContentBlock
-
A tool result that is text.
- withTool(SpecificToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolChoice
-
The Model must request the specified tool.
- withToolChoice(ToolChoice) - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
If supported by model, forces the model to request a tool.
- withToolConfig(ToolConfiguration) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseRequest
-
Configuration information for the tools that the model can use when generating a response.
- withToolResult(ToolResultBlock) - Method in class com.amazonaws.services.bedrockruntime.model.ContentBlock
-
The result for a tool request that a model makes.
- withTools(Tool...) - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
An array of tools that you want to pass to a model.
- withTools(Collection<Tool>) - Method in class com.amazonaws.services.bedrockruntime.model.ToolConfiguration
-
An array of tools that you want to pass to a model.
- withToolSpec(ToolSpecification) - Method in class com.amazonaws.services.bedrockruntime.model.Tool
-
The specfication for the tool.
- withToolUseId(String) - Method in class com.amazonaws.services.bedrockruntime.model.ToolResultBlock
-
The ID of the tool request that this is the result for.
- withTopP(Float) - Method in class com.amazonaws.services.bedrockruntime.model.InferenceConfiguration
-
The percentage of most-likely candidates that the model considers for the next token.
- withTotalTokens(Integer) - Method in class com.amazonaws.services.bedrockruntime.model.TokenUsage
-
The total of input tokens and tokens generated by the model.
- withTrace(String) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
Specifies whether to enable or disable the Bedrock trace.
- withTrace(Trace) - Method in class com.amazonaws.services.bedrockruntime.model.InvokeModelRequest
-
Specifies whether to enable or disable the Bedrock trace.
- withUsage(TokenUsage) - Method in class com.amazonaws.services.bedrockruntime.model.ConverseResult
-
The total number of tokens used in the call to Converse.