Interface InputFile.Builder

  • Method Details

    • name

      The name of the source file.

      Parameters:
      name - The name of the source file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      InputFile.Builder source(FileSource source)

      Specifies where the files are located.

      Parameters:
      source - Specifies where the files are located.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      default InputFile.Builder source(Consumer<FileSource.Builder> source)

      Specifies where the files are located.

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

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

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

      InputFile.Builder useCase(String useCase)

      Specifies how the source files will be used by the code interpreter.

      Parameters:
      useCase - Specifies how the source files will be used by the code interpreter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • useCase

      InputFile.Builder useCase(FileUseCase useCase)

      Specifies how the source files will be used by the code interpreter.

      Parameters:
      useCase - Specifies how the source files will be used by the code interpreter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: