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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PredictorExecution.BuilderalgorithmArn(String algorithmArn)The ARN of the algorithm used to test the predictor.PredictorExecution.BuildertestWindows(Collection<TestWindowSummary> testWindows)An array of test windows used to evaluate the algorithm.PredictorExecution.BuildertestWindows(Consumer<TestWindowSummary.Builder>... testWindows)An array of test windows used to evaluate the algorithm.PredictorExecution.BuildertestWindows(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
algorithmArn
PredictorExecution.Builder algorithmArn(String 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
PredictorExecution.Builder testWindows(Collection<TestWindowSummary> 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
PredictorExecution.Builder testWindows(TestWindowSummary... 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
PredictorExecution.Builder testWindows(Consumer<TestWindowSummary.Builder>... 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 to#testWindows(List.) - 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:
#testWindows(java.util.Collection)
-
-