Interface CreateSolutionRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateSolutionRequest.Builder,,- CreateSolutionRequest> - PersonalizeRequest.Builder,- SdkBuilder<CreateSolutionRequest.Builder,,- CreateSolutionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateSolutionRequest
- 
Method SummaryModifier and TypeMethodDescriptiondatasetGroupArn(String datasetGroupArn) The Amazon Resource Name (ARN) of the dataset group that provides the training data.When your have multiple event types (using anEVENT_TYPEschema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model.The name for the solution.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.performAutoML(Boolean performAutoML) performAutoTraining(Boolean performAutoTraining) Whether the solution uses automatic training to create new solution versions (trained models).performHPO(Boolean performHPO) Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe.The Amazon Resource Name (ARN) of the recipe to use for model training.default CreateSolutionRequest.BuildersolutionConfig(Consumer<SolutionConfig.Builder> solutionConfig) The configuration properties for the solution.solutionConfig(SolutionConfig solutionConfig) The configuration properties for the solution.tags(Collection<Tag> tags) A list of tags to apply to the solution.tags(Consumer<Tag.Builder>... tags) A list of tags to apply to the solution.A list of tags to apply to the solution.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe name for the solution. - Parameters:
- name- The name for the solution.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
performHPOWhether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is false.When performing AutoML, this parameter is always trueand you should not set it tofalse.- Parameters:
- performHPO- Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is- false.- When performing AutoML, this parameter is always - trueand you should not set it to- false.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
performAutoMLWe don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Choosing a recipe. Whether to perform automated machine learning (AutoML). The default is false. For this case, you must specifyrecipeArn.When set to true, Amazon Personalize analyzes your training data and selects the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omitrecipeArn. Amazon Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.- Parameters:
- performAutoML-- We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Choosing a recipe. - Whether to perform automated machine learning (AutoML). The default is - false. For this case, you must specify- recipeArn.- When set to - true, Amazon Personalize analyzes your training data and selects the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit- recipeArn. Amazon Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
performAutoTrainingWhether the solution uses automatic training to create new solution versions (trained models). The default is Trueand the solution automatically creates new solution versions every 7 days. You can change the training frequency by specifying aschedulingExpressionin theAutoTrainingConfigas part of solution configuration. For more information about automatic training, see Configuring automatic training.Automatic solution version creation starts within one hour after the solution is ACTIVE. If you manually create a solution version within the hour, the solution skips the first automatic training. After training starts, you can get the solution version's Amazon Resource Name (ARN) with the ListSolutionVersions API operation. To get its status, use the DescribeSolutionVersion. - Parameters:
- performAutoTraining- Whether the solution uses automatic training to create new solution versions (trained models). The default is- Trueand the solution automatically creates new solution versions every 7 days. You can change the training frequency by specifying a- schedulingExpressionin the- AutoTrainingConfigas part of solution configuration. For more information about automatic training, see Configuring automatic training.- Automatic solution version creation starts within one hour after the solution is ACTIVE. If you manually create a solution version within the hour, the solution skips the first automatic training. - After training starts, you can get the solution version's Amazon Resource Name (ARN) with the ListSolutionVersions API operation. To get its status, use the DescribeSolutionVersion. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
recipeArnThe Amazon Resource Name (ARN) of the recipe to use for model training. This is required when performAutoMLis false. For information about different Amazon Personalize recipes and their ARNs, see Choosing a recipe.- Parameters:
- recipeArn- The Amazon Resource Name (ARN) of the recipe to use for model training. This is required when- performAutoMLis false. For information about different Amazon Personalize recipes and their ARNs, see Choosing a recipe.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
datasetGroupArnThe Amazon Resource Name (ARN) of the dataset group that provides the training data. - Parameters:
- datasetGroupArn- The Amazon Resource Name (ARN) of the dataset group that provides the training data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventTypeWhen your have multiple event types (using an EVENT_TYPEschema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model.If you do not provide an eventType, Amazon Personalize will use all interactions for training with equal weight regardless of type.- Parameters:
- eventType- When your have multiple event types (using an- EVENT_TYPEschema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model.- If you do not provide an - eventType, Amazon Personalize will use all interactions for training with equal weight regardless of type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
solutionConfigThe configuration properties for the solution. When performAutoMLis set to true, Amazon Personalize only evaluates theautoMLConfigsection of the solution configuration.Amazon Personalize doesn't support configuring the hpoObjectiveat this time.- Parameters:
- solutionConfig- The configuration properties for the solution. When- performAutoMLis set to true, Amazon Personalize only evaluates the- autoMLConfigsection of the solution configuration.- Amazon Personalize doesn't support configuring the - hpoObjectiveat this time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
solutionConfigdefault CreateSolutionRequest.Builder solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig) The configuration properties for the solution. When performAutoMLis set to true, Amazon Personalize only evaluates theautoMLConfigsection of the solution configuration.Amazon Personalize doesn't support configuring the hpoObjectiveat this time.SolutionConfig.Builderavoiding the need to create one manually viaSolutionConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosolutionConfig(SolutionConfig).- Parameters:
- solutionConfig- a consumer that will call methods on- SolutionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tags
- 
tags
- 
tagsA list of tags to apply to the solution. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateSolutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateSolutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-