Interface TestingData.Builder

    • Method Detail

      • assets

        TestingData.Builder assets​(Collection<Asset> assets)

        The assets used for testing.

        Parameters:
        assets - The assets used for testing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assets

        TestingData.Builder assets​(Asset... assets)

        The assets used for testing.

        Parameters:
        assets - The assets used for testing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assets

        TestingData.Builder assets​(Consumer<Asset.Builder>... assets)

        The assets used for testing.

        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).

        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:
        #assets(java.util.Collection)
      • autoCreate

        TestingData.Builder autoCreate​(Boolean autoCreate)

        If specified, Rekognition splits training dataset to create a test dataset for the training job.

        Parameters:
        autoCreate - If specified, Rekognition splits training dataset to create a test dataset for the training job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.