Interface PredictorExecution.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PredictorExecution.Builder,,PredictorExecution> SdkBuilder<PredictorExecution.Builder,,PredictorExecution> SdkPojo
- Enclosing class:
PredictorExecution
@Mutable
@NotThreadSafe
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
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 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
NumberOfBacktestWindowsfrom the object determines the number of windows in the array.- Parameters:
testWindows- An array of test windows used to evaluate the algorithm. TheNumberOfBacktestWindowsfrom 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
NumberOfBacktestWindowsfrom the object determines the number of windows in the array.- Parameters:
testWindows- An array of test windows used to evaluate the algorithm. TheNumberOfBacktestWindowsfrom 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 theNumberOfBacktestWindowsfrom the object determines the number of windows in the array.TestWindowSummary.Builderavoiding the need to create one manually viaTestWindowSummary.builder().When the
Consumercompletes,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:
-