Interface PredictorExecution.Builder

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

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

    • algorithmArn

      PredictorExecution.Builder algorithmArn(String algorithmArn)

      The ARN of the algorithm used to test the predictor.

      Parameters:
      algorithmArn - The ARN of the algorithm used to test the predictor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testWindows

      An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

      Parameters:
      testWindows - An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testWindows

      PredictorExecution.Builder testWindows(TestWindowSummary... testWindows)

      An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

      Parameters:
      testWindows - An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testWindows

      An array of test windows used to evaluate the algorithm. The NumberOfBacktestWindows from the object determines the number of windows in the array.

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

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

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