Interface SolutionConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SolutionConfig.Builder,
,SolutionConfig> SdkBuilder<SolutionConfig.Builder,
,SolutionConfig> SdkPojo
- Enclosing class:
SolutionConfig
-
Method Summary
Modifier and TypeMethodDescriptionalgorithmHyperParameters
(Map<String, String> algorithmHyperParameters) Lists the algorithm hyperparameters and their values.default SolutionConfig.Builder
autoMLConfig
(Consumer<AutoMLConfig.Builder> autoMLConfig) The AutoMLConfig object containing a list of recipes to search when AutoML is performed.autoMLConfig
(AutoMLConfig autoMLConfig) The AutoMLConfig object containing a list of recipes to search when AutoML is performed.eventValueThreshold
(String eventValueThreshold) Only events with a value greater than or equal to this threshold are used for training a model.featureTransformationParameters
(Map<String, String> featureTransformationParameters) Lists the feature transformation parameters.default SolutionConfig.Builder
hpoConfig
(Consumer<HPOConfig.Builder> hpoConfig) Describes the properties for hyperparameter optimization (HPO).Describes the properties for hyperparameter optimization (HPO).default SolutionConfig.Builder
optimizationObjective
(Consumer<OptimizationObjective.Builder> optimizationObjective) Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue.optimizationObjective
(OptimizationObjective optimizationObjective) Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue.default SolutionConfig.Builder
trainingDataConfig
(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Specifies the training data configuration to use when creating a custom solution version (trained model).trainingDataConfig
(TrainingDataConfig trainingDataConfig) Specifies the training data configuration to use when creating a custom solution version (trained model).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
-
eventValueThreshold
Only events with a value greater than or equal to this threshold are used for training a model.
- Parameters:
eventValueThreshold
- Only events with a value greater than or equal to this threshold are used for training a model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoConfig
Describes the properties for hyperparameter optimization (HPO).
- Parameters:
hpoConfig
- Describes the properties for hyperparameter optimization (HPO).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hpoConfig
Describes the properties for hyperparameter optimization (HPO).
This is a convenience method that creates an instance of theHPOConfig.Builder
avoiding the need to create one manually viaHPOConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohpoConfig(HPOConfig)
.- Parameters:
hpoConfig
- a consumer that will call methods onHPOConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
algorithmHyperParameters
Lists the algorithm hyperparameters and their values.
- Parameters:
algorithmHyperParameters
- Lists the algorithm hyperparameters and their values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
featureTransformationParameters
SolutionConfig.Builder featureTransformationParameters(Map<String, String> featureTransformationParameters) Lists the feature transformation parameters.
- Parameters:
featureTransformationParameters
- Lists the feature transformation parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLConfig
The AutoMLConfig object containing a list of recipes to search when AutoML is performed.
- Parameters:
autoMLConfig
- The AutoMLConfig object containing a list of recipes to search when AutoML is performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoMLConfig
The AutoMLConfig object containing a list of recipes to search when AutoML is performed.
This is a convenience method that creates an instance of theAutoMLConfig.Builder
avoiding the need to create one manually viaAutoMLConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautoMLConfig(AutoMLConfig)
.- Parameters:
autoMLConfig
- a consumer that will call methods onAutoMLConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optimizationObjective
Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see Optimizing a solution.
- Parameters:
optimizationObjective
- Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see Optimizing a solution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optimizationObjective
default SolutionConfig.Builder optimizationObjective(Consumer<OptimizationObjective.Builder> optimizationObjective) Describes the additional objective for the solution, such as maximizing streaming minutes or increasing revenue. For more information see Optimizing a solution.
This is a convenience method that creates an instance of theOptimizationObjective.Builder
avoiding the need to create one manually viaOptimizationObjective.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptimizationObjective(OptimizationObjective)
.- Parameters:
optimizationObjective
- a consumer that will call methods onOptimizationObjective.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trainingDataConfig
Specifies the training data configuration to use when creating a custom solution version (trained model).
- Parameters:
trainingDataConfig
- Specifies the training data configuration to use when creating a custom solution version (trained model).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingDataConfig
default SolutionConfig.Builder trainingDataConfig(Consumer<TrainingDataConfig.Builder> trainingDataConfig) Specifies the training data configuration to use when creating a custom solution version (trained model).
This is a convenience method that creates an instance of theTrainingDataConfig.Builder
avoiding the need to create one manually viaTrainingDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totrainingDataConfig(TrainingDataConfig)
.- Parameters:
trainingDataConfig
- a consumer that will call methods onTrainingDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-