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 Summary
Modifier and TypeMethodDescriptionalgorithmArn
(String algorithmArn) The ARN of the algorithm used to test the predictor.testWindows
(Collection<TestWindowSummary> testWindows) An array of test windows used to evaluate the algorithm.testWindows
(Consumer<TestWindowSummary.Builder>... testWindows) An array of test windows used to evaluate the algorithm.testWindows
(TestWindowSummary... testWindows) An array of test windows used to evaluate 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 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. TheNumberOfBacktestWindows
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.- Parameters:
testWindows
- An array of test windows used to evaluate the algorithm. TheNumberOfBacktestWindows
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
This is a convenience method that creates an instance of theNumberOfBacktestWindows
from the object determines the number of windows in the array.TestWindowSummary.Builder
avoiding the need to create one manually viaTestWindowSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totestWindows(List<TestWindowSummary>)
.- Parameters:
testWindows
- a consumer that will call methods onTestWindowSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-