Interface InvokeAgentRuntimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreRequest.Builder
,Buildable
,CopyableBuilder<InvokeAgentRuntimeRequest.Builder,
,InvokeAgentRuntimeRequest> SdkBuilder<InvokeAgentRuntimeRequest.Builder,
,InvokeAgentRuntimeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
InvokeAgentRuntimeRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe desired MIME type for the response from the agent runtime.agentRuntimeArn
(String agentRuntimeArn) The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke.Additional context information for distributed tracing.contentType
(String contentType) The MIME type of the input data in the payload.mcpProtocolVersion
(String mcpProtocolVersion) The version of the MCP protocol being used.mcpSessionId
(String mcpSessionId) The identifier of the MCP session.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The input data to send to the agent runtime.The qualifier to use for the agent runtime.runtimeSessionId
(String runtimeSessionId) The identifier of the runtime session.runtimeUserId
(String runtimeUserId) The identifier of the runtime user.The trace identifier for request tracking.traceParent
(String traceParent) The parent trace information for distributed tracing.traceState
(String traceState) The trace state information for distributed tracing.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contentType
The MIME type of the input data in the payload. This tells the agent runtime how to interpret the payload data. Common values include application/json for JSON data.
- Parameters:
contentType
- The MIME type of the input data in the payload. This tells the agent runtime how to interpret the payload data. Common values include application/json for JSON data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accept
The desired MIME type for the response from the agent runtime. This tells the agent runtime what format to use for the response data. Common values include application/json for JSON data.
- Parameters:
accept
- The desired MIME type for the response from the agent runtime. This tells the agent runtime what format to use for the response data. Common values include application/json for JSON data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpSessionId
The identifier of the MCP session.
- Parameters:
mcpSessionId
- The identifier of the MCP session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeSessionId
The identifier of the runtime session.
- Parameters:
runtimeSessionId
- The identifier of the runtime session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpProtocolVersion
The version of the MCP protocol being used.
- Parameters:
mcpProtocolVersion
- The version of the MCP protocol being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeUserId
The identifier of the runtime user.
- Parameters:
runtimeUserId
- The identifier of the runtime user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceId
The trace identifier for request tracking.
- Parameters:
traceId
- The trace identifier for request tracking.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceParent
The parent trace information for distributed tracing.
- Parameters:
traceParent
- The parent trace information for distributed tracing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceState
The trace state information for distributed tracing.
- Parameters:
traceState
- The trace state information for distributed tracing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baggage
Additional context information for distributed tracing.
- Parameters:
baggage
- Additional context information for distributed tracing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeArn
The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke. The ARN uniquely identifies the agent runtime resource in Amazon Bedrock.
- Parameters:
agentRuntimeArn
- The Amazon Web Services Resource Name (ARN) of the agent runtime to invoke. The ARN uniquely identifies the agent runtime resource in Amazon Bedrock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualifier
The qualifier to use for the agent runtime. This can be a version number or an alias name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.
- Parameters:
qualifier
- The qualifier to use for the agent runtime. This can be a version number or an alias name that points to a specific version. If not specified, Amazon Bedrock uses the default version of the agent runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The input data to send to the agent runtime. The format of this data depends on the specific agent configuration and must match the specified content type. For most agents, this is a JSON object containing the user's request.
- Parameters:
payload
- The input data to send to the agent runtime. The format of this data depends on the specific agent configuration and must match the specified content type. For most agents, this is a JSON object containing the user's request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InvokeAgentRuntimeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
InvokeAgentRuntimeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-