Interface UpdateSolutionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSolutionRequest.Builder,,UpdateSolutionRequest> PersonalizeRequest.Builder,SdkBuilder<UpdateSolutionRequest.Builder,,UpdateSolutionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSolutionRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.performAutoTraining(Boolean performAutoTraining) Whether the solution uses automatic training to create new solution versions (trained models).solutionArn(String solutionArn) The Amazon Resource Name (ARN) of the solution to update.default UpdateSolutionRequest.BuildersolutionUpdateConfig(Consumer<SolutionUpdateConfig.Builder> solutionUpdateConfig) The new configuration details of the solution.solutionUpdateConfig(SolutionUpdateConfig solutionUpdateConfig) The new configuration details of the solution.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
solutionArn
The Amazon Resource Name (ARN) of the solution to update.
- Parameters:
solutionArn- The Amazon Resource Name (ARN) of the solution to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
performAutoTraining
Whether the solution uses automatic training to create new solution versions (trained models). You can change the training frequency by specifying a
schedulingExpressionin theAutoTrainingConfigas part of solution configuration.If you turn on automatic training, the first automatic training starts within one hour after the solution update completes. If you manually create a solution version within the hour, the solution skips the first automatic training. For more information about automatic training, see Configuring 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). You can change the training frequency by specifying aschedulingExpressionin theAutoTrainingConfigas part of solution configuration.If you turn on automatic training, the first automatic training starts within one hour after the solution update completes. If you manually create a solution version within the hour, the solution skips the first automatic training. For more information about automatic training, see Configuring 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.
-
solutionUpdateConfig
The new configuration details of the solution.
- Parameters:
solutionUpdateConfig- The new configuration details of the solution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
solutionUpdateConfig
default UpdateSolutionRequest.Builder solutionUpdateConfig(Consumer<SolutionUpdateConfig.Builder> solutionUpdateConfig) The new configuration details of the solution.
This is a convenience method that creates an instance of theSolutionUpdateConfig.Builderavoiding the need to create one manually viaSolutionUpdateConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosolutionUpdateConfig(SolutionUpdateConfig).- Parameters:
solutionUpdateConfig- a consumer that will call methods onSolutionUpdateConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSolutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSolutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-