Interface StartCodeInterpreterSessionRequest.Builder

  • Method Details

    • codeInterpreterIdentifier

      StartCodeInterpreterSessionRequest.Builder codeInterpreterIdentifier(String codeInterpreterIdentifier)

      The unique identifier of the code interpreter to use for this session. This identifier specifies which code interpreter environment to initialize for the session.

      Parameters:
      codeInterpreterIdentifier - The unique identifier of the code interpreter to use for this session. This identifier specifies which code interpreter environment to initialize for the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the code interpreter session. This name helps you identify and manage the session. The name does not need to be unique.

      Parameters:
      name - The name of the code interpreter session. This name helps you identify and manage the session. The name does not need to be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionTimeoutSeconds

      StartCodeInterpreterSessionRequest.Builder sessionTimeoutSeconds(Integer sessionTimeoutSeconds)

      The time in seconds after which the session automatically terminates if there is no activity. The default value is 3600 seconds (1 hour). The minimum allowed value is 60 seconds, and the maximum allowed value is 28800 seconds (8 hours).

      Parameters:
      sessionTimeoutSeconds - The time in seconds after which the session automatically terminates if there is no activity. The default value is 3600 seconds (1 hour). The minimum allowed value is 60 seconds, and the maximum allowed value is 28800 seconds (8 hours).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • clientToken

      A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.

      Parameters:
      clientToken - A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.