Interface StopRuntimeSessionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<StopRuntimeSessionRequest.Builder,,StopRuntimeSessionRequest> SdkBuilder<StopRuntimeSessionRequest.Builder,,StopRuntimeSessionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StopRuntimeSessionRequest
@Mutable
@NotThreadSafe
public static interface StopRuntimeSessionRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<StopRuntimeSessionRequest.Builder,StopRuntimeSessionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArn(String agentRuntimeArn) The ARN of the agent that contains the session that you want to stop.clientToken(String clientToken) Idempotent token used to identify the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Optional qualifier to specify an agent alias, such asprodcode> ordev.runtimeSessionId(String runtimeSessionId) The ID of the session that you want to stop.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
-
runtimeSessionId
The ID of the session that you want to stop.
- Parameters:
runtimeSessionId- The ID of the session that you want to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeArn
The ARN of the agent that contains the session that you want to stop.
- Parameters:
agentRuntimeArn- The ARN of the agent that contains the session that you want to stop.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualifier
Optional qualifier to specify an agent alias, such as
prodcode> ordev. If you don't provide a value, the DEFAULT alias is used.- Parameters:
qualifier- Optional qualifier to specify an agent alias, such asprodcode> ordev. If you don't provide a value, the DEFAULT alias is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Idempotent token used to identify the request. If you use the same token with multiple requests, the same response is returned. Use ClientToken to prevent the same request from being processed more than once.
- Parameters:
clientToken- Idempotent token used to identify the request. If you use the same token with multiple requests, the same response is returned. Use ClientToken to prevent the same request from being processed more than once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StopRuntimeSessionRequest.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
StopRuntimeSessionRequest.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.
-