Interface CodeConfiguration.Builder

  • Method Details

    • code

      The source code location and configuration details.

      Parameters:
      code - The source code location and configuration details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      The source code location and configuration details.

      This is a convenience method that creates an instance of the Code.Builder avoiding the need to create one manually via Code.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to code(Code).

      Parameters:
      code - a consumer that will call methods on Code.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runtime

      The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).

      Parameters:
      runtime - The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • runtime

      The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).

      Parameters:
      runtime - The runtime environment for executing the code (for example, Python 3.9 or Node.js 18).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entryPoint

      CodeConfiguration.Builder entryPoint(Collection<String> entryPoint)

      The entry point for the code execution, specifying the function or method that should be invoked when the code runs.

      Parameters:
      entryPoint - The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entryPoint

      CodeConfiguration.Builder entryPoint(String... entryPoint)

      The entry point for the code execution, specifying the function or method that should be invoked when the code runs.

      Parameters:
      entryPoint - The entry point for the code execution, specifying the function or method that should be invoked when the code runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.