Interface InvokeAgentRuntimeCommandRequestBody.Builder

  • Method Details

    • command

      The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.

      Parameters:
      command - The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timeout

      The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.

      Parameters:
      timeout - The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.