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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EvaluationResult.BuilderalgorithmArn(String algorithmArn)The Amazon Resource Name (ARN) of the algorithm that was evaluated.EvaluationResult.BuildertestWindows(Collection<WindowSummary> testWindows)The array of test windows used for evaluating the algorithm.EvaluationResult.BuildertestWindows(Consumer<WindowSummary.Builder>... testWindows)The array of test windows used for evaluating the algorithm.EvaluationResult.BuildertestWindows(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
EvaluationResult.Builder testWindows(Collection<WindowSummary> 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
EvaluationResult.Builder testWindows(WindowSummary... 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
EvaluationResult.Builder testWindows(Consumer<WindowSummary.Builder>... 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 to#testWindows(List.) - 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:
#testWindows(java.util.Collection)
-
-