Interface InvokeAgentRuntimeCommandRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<InvokeAgentRuntimeCommandRequest.Builder,,InvokeAgentRuntimeCommandRequest> SdkBuilder<InvokeAgentRuntimeCommandRequest.Builder,,InvokeAgentRuntimeCommandRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
InvokeAgentRuntimeCommandRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe desired MIME type for the response from the agent runtime command.Account ID (12 digits)agentRuntimeArn(String agentRuntimeArn) ARN of the agent runtimeAdditional context information for distributed tracing.Request body containing command and timeoutRequest body containing command and timeoutcontentType(String contentType) The MIME type of the input data in the request payload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Version or alias qualifierruntimeSessionId(String runtimeSessionId) Runtime session identifierThe 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
contentType
The MIME type of the input data in the request 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 request 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 command. 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 command. 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.
-
runtimeSessionId
Runtime session identifier
- Parameters:
runtimeSessionId- Runtime session identifier- 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
ARN of the agent runtime
- Parameters:
agentRuntimeArn- ARN of the agent runtime- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualifier
Version or alias qualifier
- Parameters:
qualifier- Version or alias qualifier- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
Account ID (12 digits)
- Parameters:
accountId- Account ID (12 digits)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
Request body containing command and timeout
- Parameters:
body- Request body containing command and timeout- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
default InvokeAgentRuntimeCommandRequest.Builder body(Consumer<InvokeAgentRuntimeCommandRequestBody.Builder> body) Request body containing command and timeout
This is a convenience method that creates an instance of theInvokeAgentRuntimeCommandRequestBody.Builderavoiding the need to create one manually viaInvokeAgentRuntimeCommandRequestBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobody(InvokeAgentRuntimeCommandRequestBody).- Parameters:
body- a consumer that will call methods onInvokeAgentRuntimeCommandRequestBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
InvokeAgentRuntimeCommandRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
InvokeAgentRuntimeCommandRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-