Interface StopRuntimeSessionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, BedrockAgentCoreRequest.Builder, Buildable, CopyableBuilder<StopRuntimeSessionRequest.Builder,StopRuntimeSessionRequest>, SdkBuilder<StopRuntimeSessionRequest.Builder,StopRuntimeSessionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
StopRuntimeSessionRequest

  • Method Details

    • runtimeSessionId

      StopRuntimeSessionRequest.Builder runtimeSessionId(String 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

      StopRuntimeSessionRequest.Builder agentRuntimeArn(String 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> or dev. If you don't provide a value, the DEFAULT alias is used.

      Parameters:
      qualifier - Optional qualifier to specify an agent alias, such as prodcode> or dev. 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

      StopRuntimeSessionRequest.Builder clientToken(String 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)
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder