Interface InputFile.Builder

  • Method Details

    • sourceLocation

      InputFile.Builder sourceLocation(String sourceLocation)

      The source location of the input file.

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

      InputFile.Builder targetLocation(String targetLocation)

      The target location of the input file.

      Parameters:
      targetLocation - The target location of the input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileMetadata

      InputFile.Builder fileMetadata(FileMetadata fileMetadata)

      The file metadata of the input file.

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

      default InputFile.Builder fileMetadata(Consumer<FileMetadata.Builder> fileMetadata)

      The file metadata of the input file.

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

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

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