Interface UpdateSolutionRequest.Builder

  • Method Details

    • 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 schedulingExpression in the AutoTrainingConfig as 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 a schedulingExpression in the AutoTrainingConfig as 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.
    • performIncrementalUpdate

      UpdateSolutionRequest.Builder performIncrementalUpdate(Boolean performIncrementalUpdate)

      Whether to perform incremental training updates on your model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe.

      Parameters:
      performIncrementalUpdate - Whether to perform incremental training updates on your model. When enabled, this allows the model to learn from new data more frequently without requiring full retraining, which enables near real-time personalization. This parameter is supported only for solutions that use the semantic-similarity recipe.
      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 the SolutionUpdateConfig.Builder avoiding the need to create one manually via SolutionUpdateConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to solutionUpdateConfig(SolutionUpdateConfig).

      Parameters:
      solutionUpdateConfig - a consumer that will call methods on SolutionUpdateConfig.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.