Interface JobSubmitPlugin.Builder

  • Method Details

    • name

      A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (_), and hyphens (-). The first character must be a letter or a number.

      Parameters:
      name - A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (_), and hyphens (-). The first character must be a letter or a number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The runtime language used to execute the custom script. Valid values:

      • STARLARK – The script uses Starlark syntax.

      Parameters:
      type - The runtime language used to execute the custom script. Valid values:

      • STARLARK – The script uses Starlark syntax.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The runtime language used to execute the custom script. Valid values:

      • STARLARK – The script uses Starlark syntax.

      Parameters:
      type - The runtime language used to execute the custom script. Valid values:

      • STARLARK – The script uses Starlark syntax.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scriptSource

      JobSubmitPlugin.Builder scriptSource(JobSubmitScriptSource scriptSource)

      The source location and integrity information for the script.

      Parameters:
      scriptSource - The source location and integrity information for the script.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scriptSource

      default JobSubmitPlugin.Builder scriptSource(Consumer<JobSubmitScriptSource.Builder> scriptSource)

      The source location and integrity information for the script.

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

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

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