Interface StopRuntimeSessionRequest.Builder

  • 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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.