Interface DescribePredictorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribePredictorResponse.Builder,DescribePredictorResponse>,ForecastResponse.Builder,SdkBuilder<DescribePredictorResponse.Builder,DescribePredictorResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribePredictorResponse
public static interface DescribePredictorResponse.Builder extends ForecastResponse.Builder, SdkPojo, CopyableBuilder<DescribePredictorResponse.Builder,DescribePredictorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribePredictorResponse.BuilderalgorithmArn(String algorithmArn)The Amazon Resource Name (ARN) of the algorithm used for model training.DescribePredictorResponse.BuilderautoMLAlgorithmArns(String... autoMLAlgorithmArns)WhenPerformAutoMLis specified, the ARN of the chosen algorithm.DescribePredictorResponse.BuilderautoMLAlgorithmArns(Collection<String> autoMLAlgorithmArns)WhenPerformAutoMLis specified, the ARN of the chosen algorithm.DescribePredictorResponse.BuilderautoMLOverrideStrategy(String autoMLOverrideStrategy)DescribePredictorResponse.BuilderautoMLOverrideStrategy(AutoMLOverrideStrategy autoMLOverrideStrategy)DescribePredictorResponse.BuildercreationTime(Instant creationTime)When the model training task was created.DescribePredictorResponse.BuilderdatasetImportJobArns(String... datasetImportJobArns)An array of the ARNs of the dataset import jobs used to import training data for the predictor.DescribePredictorResponse.BuilderdatasetImportJobArns(Collection<String> datasetImportJobArns)An array of the ARNs of the dataset import jobs used to import training data for the predictor.default DescribePredictorResponse.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.DescribePredictorResponse.BuilderencryptionConfig(EncryptionConfig encryptionConfig)An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.DescribePredictorResponse.BuilderestimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)The estimated time remaining in minutes for the predictor training job to complete.default DescribePredictorResponse.BuilderevaluationParameters(Consumer<EvaluationParameters.Builder> evaluationParameters)Used to override the default evaluation parameters of the specified algorithm.DescribePredictorResponse.BuilderevaluationParameters(EvaluationParameters evaluationParameters)Used to override the default evaluation parameters of the specified algorithm.default DescribePredictorResponse.BuilderfeaturizationConfig(Consumer<FeaturizationConfig.Builder> featurizationConfig)The featurization configuration.DescribePredictorResponse.BuilderfeaturizationConfig(FeaturizationConfig featurizationConfig)The featurization configuration.DescribePredictorResponse.BuilderforecastHorizon(Integer forecastHorizon)The number of time-steps of the forecast.DescribePredictorResponse.BuilderforecastTypes(String... forecastTypes)The forecast types used during predictor training.DescribePredictorResponse.BuilderforecastTypes(Collection<String> forecastTypes)The forecast types used during predictor training.default DescribePredictorResponse.BuilderhpoConfig(Consumer<HyperParameterTuningJobConfig.Builder> hpoConfig)The hyperparameter override values for the algorithm.DescribePredictorResponse.BuilderhpoConfig(HyperParameterTuningJobConfig hpoConfig)The hyperparameter override values for the algorithm.default DescribePredictorResponse.BuilderinputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)Describes the dataset group that contains the data to use to train the predictor.DescribePredictorResponse.BuilderinputDataConfig(InputDataConfig inputDataConfig)Describes the dataset group that contains the data to use to train the predictor.DescribePredictorResponse.BuilderisAutoPredictor(Boolean isAutoPredictor)Whether the predictor was created with CreateAutoPredictor.DescribePredictorResponse.BuilderlastModificationTime(Instant lastModificationTime)The last time the resource was modified.DescribePredictorResponse.Buildermessage(String message)If an error occurred, an informational message about the error.DescribePredictorResponse.BuilderoptimizationMetric(String optimizationMetric)The accuracy metric used to optimize the predictor.DescribePredictorResponse.BuilderoptimizationMetric(OptimizationMetric optimizationMetric)The accuracy metric used to optimize the predictor.DescribePredictorResponse.BuilderperformAutoML(Boolean performAutoML)Whether the predictor is set to perform AutoML.DescribePredictorResponse.BuilderperformHPO(Boolean performHPO)Whether the predictor is set to perform hyperparameter optimization (HPO).DescribePredictorResponse.BuilderpredictorArn(String predictorArn)The ARN of the predictor.default DescribePredictorResponse.BuilderpredictorExecutionDetails(Consumer<PredictorExecutionDetails.Builder> predictorExecutionDetails)Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor.DescribePredictorResponse.BuilderpredictorExecutionDetails(PredictorExecutionDetails predictorExecutionDetails)Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor.DescribePredictorResponse.BuilderpredictorName(String predictorName)The name of the predictor.DescribePredictorResponse.Builderstatus(String status)The status of the predictor.DescribePredictorResponse.BuildertrainingParameters(Map<String,String> trainingParameters)The default training parameters or overrides selected during model training.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
predictorArn
DescribePredictorResponse.Builder predictorArn(String predictorArn)
The ARN of the predictor.
- Parameters:
predictorArn- The ARN of the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorName
DescribePredictorResponse.Builder predictorName(String predictorName)
The name of the predictor.
- Parameters:
predictorName- The name of the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
algorithmArn
DescribePredictorResponse.Builder algorithmArn(String algorithmArn)
The Amazon Resource Name (ARN) of the algorithm used for model training.
- Parameters:
algorithmArn- The Amazon Resource Name (ARN) of the algorithm used for model training.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLAlgorithmArns
DescribePredictorResponse.Builder autoMLAlgorithmArns(Collection<String> autoMLAlgorithmArns)
When
PerformAutoMLis specified, the ARN of the chosen algorithm.- Parameters:
autoMLAlgorithmArns- WhenPerformAutoMLis specified, the ARN of the chosen algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLAlgorithmArns
DescribePredictorResponse.Builder autoMLAlgorithmArns(String... autoMLAlgorithmArns)
When
PerformAutoMLis specified, the ARN of the chosen algorithm.- Parameters:
autoMLAlgorithmArns- WhenPerformAutoMLis specified, the ARN of the chosen algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastHorizon
DescribePredictorResponse.Builder forecastHorizon(Integer forecastHorizon)
The number of time-steps of the forecast. The forecast horizon is also called the prediction length.
- Parameters:
forecastHorizon- The number of time-steps of the forecast. The forecast horizon is also called the prediction length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastTypes
DescribePredictorResponse.Builder forecastTypes(Collection<String> forecastTypes)
The forecast types used during predictor training. Default value is
["0.1","0.5","0.9"]- Parameters:
forecastTypes- The forecast types used during predictor training. Default value is["0.1","0.5","0.9"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastTypes
DescribePredictorResponse.Builder forecastTypes(String... forecastTypes)
The forecast types used during predictor training. Default value is
["0.1","0.5","0.9"]- Parameters:
forecastTypes- The forecast types used during predictor training. Default value is["0.1","0.5","0.9"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performAutoML
DescribePredictorResponse.Builder performAutoML(Boolean performAutoML)
Whether the predictor is set to perform AutoML.
- Parameters:
performAutoML- Whether the predictor is set to perform AutoML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLOverrideStrategy
DescribePredictorResponse.Builder autoMLOverrideStrategy(String autoMLOverrideStrategy)
The
LatencyOptimizedAutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.The AutoML strategy used to train the predictor. Unless
LatencyOptimizedis specified, the AutoML strategy optimizes predictor accuracy.This parameter is only valid for predictors trained using AutoML.
- Parameters:
autoMLOverrideStrategy-The
LatencyOptimizedAutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.The AutoML strategy used to train the predictor. Unless
LatencyOptimizedis specified, the AutoML strategy optimizes predictor accuracy.This parameter is only valid for predictors trained using AutoML.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoMLOverrideStrategy,AutoMLOverrideStrategy
-
autoMLOverrideStrategy
DescribePredictorResponse.Builder autoMLOverrideStrategy(AutoMLOverrideStrategy autoMLOverrideStrategy)
The
LatencyOptimizedAutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.The AutoML strategy used to train the predictor. Unless
LatencyOptimizedis specified, the AutoML strategy optimizes predictor accuracy.This parameter is only valid for predictors trained using AutoML.
- Parameters:
autoMLOverrideStrategy-The
LatencyOptimizedAutoML override strategy is only available in private beta. Contact Amazon Web Services Support or your account manager to learn more about access privileges.The AutoML strategy used to train the predictor. Unless
LatencyOptimizedis specified, the AutoML strategy optimizes predictor accuracy.This parameter is only valid for predictors trained using AutoML.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutoMLOverrideStrategy,AutoMLOverrideStrategy
-
performHPO
DescribePredictorResponse.Builder performHPO(Boolean performHPO)
Whether the predictor is set to perform hyperparameter optimization (HPO).
- Parameters:
performHPO- Whether the predictor is set to perform hyperparameter optimization (HPO).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingParameters
DescribePredictorResponse.Builder trainingParameters(Map<String,String> trainingParameters)
The default training parameters or overrides selected during model training. When running AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.
- Parameters:
trainingParameters- The default training parameters or overrides selected during model training. When running AutoML or choosing HPO with CNN-QR or DeepAR+, the optimized values for the chosen hyperparameters are returned. For more information, see aws-forecast-choosing-recipes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationParameters
DescribePredictorResponse.Builder evaluationParameters(EvaluationParameters evaluationParameters)
Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
- Parameters:
evaluationParameters- Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationParameters
default DescribePredictorResponse.Builder evaluationParameters(Consumer<EvaluationParameters.Builder> evaluationParameters)
Used to override the default evaluation parameters of the specified algorithm. Amazon Forecast evaluates a predictor by splitting a dataset into training data and testing data. The evaluation parameters define how to perform the split and the number of iterations.
This is a convenience method that creates an instance of theEvaluationParameters.Builderavoiding the need to create one manually viaEvaluationParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluationParameters(EvaluationParameters).- Parameters:
evaluationParameters- a consumer that will call methods onEvaluationParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
evaluationParameters(EvaluationParameters)
-
hpoConfig
DescribePredictorResponse.Builder hpoConfig(HyperParameterTuningJobConfig hpoConfig)
The hyperparameter override values for the algorithm.
- Parameters:
hpoConfig- The hyperparameter override values for the algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoConfig
default DescribePredictorResponse.Builder hpoConfig(Consumer<HyperParameterTuningJobConfig.Builder> hpoConfig)
The hyperparameter override values for the algorithm.
This is a convenience method that creates an instance of theHyperParameterTuningJobConfig.Builderavoiding the need to create one manually viaHyperParameterTuningJobConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohpoConfig(HyperParameterTuningJobConfig).- Parameters:
hpoConfig- a consumer that will call methods onHyperParameterTuningJobConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
hpoConfig(HyperParameterTuningJobConfig)
-
inputDataConfig
DescribePredictorResponse.Builder inputDataConfig(InputDataConfig inputDataConfig)
Describes the dataset group that contains the data to use to train the predictor.
- Parameters:
inputDataConfig- Describes the dataset group that contains the data to use to train the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputDataConfig
default DescribePredictorResponse.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig)
Describes the dataset group that contains the data to use to train the predictor.
This is a convenience method that creates an instance of theInputDataConfig.Builderavoiding the need to create one manually viaInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputDataConfig(InputDataConfig).- Parameters:
inputDataConfig- a consumer that will call methods onInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputDataConfig(InputDataConfig)
-
featurizationConfig
DescribePredictorResponse.Builder featurizationConfig(FeaturizationConfig featurizationConfig)
The featurization configuration.
- Parameters:
featurizationConfig- The featurization configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featurizationConfig
default DescribePredictorResponse.Builder featurizationConfig(Consumer<FeaturizationConfig.Builder> featurizationConfig)
The featurization configuration.
This is a convenience method that creates an instance of theFeaturizationConfig.Builderavoiding the need to create one manually viaFeaturizationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofeaturizationConfig(FeaturizationConfig).- Parameters:
featurizationConfig- a consumer that will call methods onFeaturizationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
featurizationConfig(FeaturizationConfig)
-
encryptionConfig
DescribePredictorResponse.Builder encryptionConfig(EncryptionConfig encryptionConfig)
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
- Parameters:
encryptionConfig- An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default DescribePredictorResponse.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)
An Key Management Service (KMS) key and the Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
This is a convenience method that creates an instance of theEncryptionConfig.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfig(EncryptionConfig).- Parameters:
encryptionConfig- a consumer that will call methods onEncryptionConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionConfig(EncryptionConfig)
-
predictorExecutionDetails
DescribePredictorResponse.Builder predictorExecutionDetails(PredictorExecutionDetails predictorExecutionDetails)
Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.
- Parameters:
predictorExecutionDetails- Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorExecutionDetails
default DescribePredictorResponse.Builder predictorExecutionDetails(Consumer<PredictorExecutionDetails.Builder> predictorExecutionDetails)
Details on the the status and results of the backtests performed to evaluate the accuracy of the predictor. You specify the number of backtests to perform when you call the operation.
This is a convenience method that creates an instance of thePredictorExecutionDetails.Builderavoiding the need to create one manually viaPredictorExecutionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictorExecutionDetails(PredictorExecutionDetails).- Parameters:
predictorExecutionDetails- a consumer that will call methods onPredictorExecutionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predictorExecutionDetails(PredictorExecutionDetails)
-
estimatedTimeRemainingInMinutes
DescribePredictorResponse.Builder estimatedTimeRemainingInMinutes(Long estimatedTimeRemainingInMinutes)
The estimated time remaining in minutes for the predictor training job to complete.
- Parameters:
estimatedTimeRemainingInMinutes- The estimated time remaining in minutes for the predictor training job to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAutoPredictor
DescribePredictorResponse.Builder isAutoPredictor(Boolean isAutoPredictor)
Whether the predictor was created with CreateAutoPredictor.
- Parameters:
isAutoPredictor- Whether the predictor was created with CreateAutoPredictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobArns
DescribePredictorResponse.Builder datasetImportJobArns(Collection<String> datasetImportJobArns)
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
- Parameters:
datasetImportJobArns- An array of the ARNs of the dataset import jobs used to import training data for the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobArns
DescribePredictorResponse.Builder datasetImportJobArns(String... datasetImportJobArns)
An array of the ARNs of the dataset import jobs used to import training data for the predictor.
- Parameters:
datasetImportJobArns- An array of the ARNs of the dataset import jobs used to import training data for the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DescribePredictorResponse.Builder status(String status)
The status of the predictor. States include:
-
ACTIVE -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED -
CREATE_STOPPING,CREATE_STOPPED
The
Statusof the predictor must beACTIVEbefore you can use the predictor to create a forecast.- Parameters:
status- The status of the predictor. States include:-
ACTIVE -
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILED -
DELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILED -
CREATE_STOPPING,CREATE_STOPPED
The
Statusof the predictor must beACTIVEbefore you can use the predictor to create a forecast.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
DescribePredictorResponse.Builder message(String message)
If an error occurred, an informational message about the error.
- Parameters:
message- If an error occurred, an informational message about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribePredictorResponse.Builder creationTime(Instant creationTime)
When the model training task was created.
- Parameters:
creationTime- When the model training task was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
DescribePredictorResponse.Builder lastModificationTime(Instant lastModificationTime)
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
- Parameters:
lastModificationTime- The last time the resource was modified. The timestamp depends on the status of the job:-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
optimizationMetric
DescribePredictorResponse.Builder optimizationMetric(String optimizationMetric)
The accuracy metric used to optimize the predictor.
- Parameters:
optimizationMetric- The accuracy metric used to optimize the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OptimizationMetric,OptimizationMetric
-
optimizationMetric
DescribePredictorResponse.Builder optimizationMetric(OptimizationMetric optimizationMetric)
The accuracy metric used to optimize the predictor.
- Parameters:
optimizationMetric- The accuracy metric used to optimize the predictor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OptimizationMetric,OptimizationMetric
-
-