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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
NumberOfBacktestWindowsfrom the EvaluationParameters object determines the number of windows in the array.- Parameters:
testWindows- The array of test windows used for evaluating the algorithm. TheNumberOfBacktestWindowsfrom 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
NumberOfBacktestWindowsfrom the EvaluationParameters object determines the number of windows in the array.- Parameters:
testWindows- The array of test windows used for evaluating the algorithm. TheNumberOfBacktestWindowsfrom 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 theNumberOfBacktestWindowsfrom the EvaluationParameters object determines the number of windows in the array.WindowSummary.Builderavoiding the need to create one manually viaWindowSummary.builder().When the
Consumercompletes,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:
-