Interface EvaluationResult.Builder

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

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

    • algorithmArn

      EvaluationResult.Builder algorithmArn(String algorithmArn)

      The Amazon Resource Name (ARN) of the algorithm that was evaluated.

      Parameters:
      algorithmArn - The Amazon Resource Name (ARN) of the algorithm that was evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testWindows

      The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters object determines the number of windows in the array.

      Parameters:
      testWindows - The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters 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

      EvaluationResult.Builder testWindows(WindowSummary... testWindows)

      The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters object determines the number of windows in the array.

      Parameters:
      testWindows - The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters 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

      The array of test windows used for evaluating the algorithm. The NumberOfBacktestWindows from the EvaluationParameters object determines the number of windows in the array.

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

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

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