Interface InvokeAgentRuntimeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BedrockAgentCoreResponse.Builder
,Buildable
,CopyableBuilder<InvokeAgentRuntimeResponse.Builder,
,InvokeAgentRuntimeResponse> SdkBuilder<InvokeAgentRuntimeResponse.Builder,
,InvokeAgentRuntimeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
InvokeAgentRuntimeResponse
@Mutable
@NotThreadSafe
public static interface InvokeAgentRuntimeResponse.Builder
extends BedrockAgentCoreResponse.Builder, SdkPojo, CopyableBuilder<InvokeAgentRuntimeResponse.Builder,InvokeAgentRuntimeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAdditional context information for distributed tracing.contentType
(String contentType) The MIME type of the response data.mcpProtocolVersion
(String mcpProtocolVersion) The version of the MCP protocol being used.mcpSessionId
(String mcpSessionId) The identifier of the MCP session.runtimeSessionId
(String runtimeSessionId) The identifier of the runtime session.statusCode
(Integer statusCodeValue) The HTTP status code of the response.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.services.bedrockagentcore.model.BedrockAgentCoreResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
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.
-
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.
-
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.
-
contentType
The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.
- Parameters:
contentType
- The MIME type of the response data. This indicates how to interpret 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.
-
statusCode
The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.
- Parameters:
statusCodeValue
- The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-