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.BuilderautoMLConfig(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.default SolutionConfig.BuilderautoTrainingConfig(Consumer<AutoTrainingConfig.Builder> autoTrainingConfig) Specifies the automatic training configuration to use.autoTrainingConfig(AutoTrainingConfig autoTrainingConfig) Specifies the automatic training configuration to use.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.BuilderhpoConfig(Consumer<HPOConfig.Builder> hpoConfig) Describes the properties for hyperparameter optimization (HPO).Describes the properties for hyperparameter optimization (HPO).default SolutionConfig.BuilderoptimizationObjective(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.BuildertrainingDataConfig(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
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
-
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.Builderavoiding the need to create one manually viaHPOConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaAutoMLConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaOptimizationObjective.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaTrainingDataConfig.builder().When the
Consumercompletes,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:
-
autoTrainingConfig
Specifies the automatic training configuration to use.
- Parameters:
autoTrainingConfig- Specifies the automatic training configuration to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoTrainingConfig
default SolutionConfig.Builder autoTrainingConfig(Consumer<AutoTrainingConfig.Builder> autoTrainingConfig) Specifies the automatic training configuration to use.
This is a convenience method that creates an instance of theAutoTrainingConfig.Builderavoiding the need to create one manually viaAutoTrainingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoTrainingConfig(AutoTrainingConfig).- Parameters:
autoTrainingConfig- a consumer that will call methods onAutoTrainingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-