Interface UpdateSolutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>,PersonalizeRequest.Builder,SdkBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateSolutionRequest
public static interface UpdateSolutionRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateSolutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSolutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSolutionRequest.BuilderperformAutoTraining(Boolean performAutoTraining)Whether the solution uses automatic training to create new solution versions (trained models).UpdateSolutionRequest.BuildersolutionArn(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.UpdateSolutionRequest.BuildersolutionUpdateConfig(SolutionUpdateConfig solutionUpdateConfig)The new configuration details of the solution.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
solutionArn
UpdateSolutionRequest.Builder solutionArn(String 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
UpdateSolutionRequest.Builder performAutoTraining(Boolean 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
UpdateSolutionRequest.Builder solutionUpdateConfig(SolutionUpdateConfig 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:
solutionUpdateConfig(SolutionUpdateConfig)
-
overrideConfiguration
UpdateSolutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSolutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-