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 Summary
Modifier and TypeMethodDescriptionalgorithmArn
(String algorithmArn) The Amazon Resource Name (ARN) of the algorithm that was evaluated.testWindows
(Collection<WindowSummary> testWindows) The array of test windows used for evaluating the algorithm.testWindows
(Consumer<WindowSummary.Builder>... testWindows) The array of test windows used for evaluating the algorithm.testWindows
(WindowSummary... testWindows) The array of test windows used for evaluating the algorithm.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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. TheNumberOfBacktestWindows
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.- Parameters:
testWindows
- The array of test windows used for evaluating the algorithm. TheNumberOfBacktestWindows
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
This is a convenience method that creates an instance of theNumberOfBacktestWindows
from the EvaluationParameters object determines the number of windows in the array.WindowSummary.Builder
avoiding the need to create one manually viaWindowSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestWindows(List<WindowSummary>)
.- Parameters:
testWindows
- a consumer that will call methods onWindowSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-