Interface TrainingData.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrainingData.Builder,TrainingData>, SdkBuilder<TrainingData.Builder,TrainingData>, SdkPojo
Enclosing class:
TrainingData

public static interface TrainingData.Builder extends SdkPojo, CopyableBuilder<TrainingData.Builder,TrainingData>
  • Method Details

    • assets

      A manifest file that contains references to the training images and ground-truth annotations.

      Parameters:
      assets - A manifest file that contains references to the training images and ground-truth annotations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      TrainingData.Builder assets(Asset... assets)

      A manifest file that contains references to the training images and ground-truth annotations.

      Parameters:
      assets - A manifest file that contains references to the training images and ground-truth annotations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assets

      A manifest file that contains references to the training images and ground-truth annotations.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to assets(List<Asset>).

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