Interface Solution.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Solution.Builder,Solution>, SdkBuilder<Solution.Builder,Solution>, SdkPojo
Enclosing class:
Solution

public static interface Solution.Builder extends SdkPojo, CopyableBuilder<Solution.Builder,Solution>
  • Method Details

    • name

      The name of the solution.

      Parameters:
      name - The name of the solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • solutionArn

      Solution.Builder solutionArn(String solutionArn)

      The ARN of the solution.

      Parameters:
      solutionArn - The ARN of the solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performHPO

      Solution.Builder performHPO(Boolean performHPO)

      Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.

      Parameters:
      performHPO - Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performAutoML

      Solution.Builder performAutoML(Boolean performAutoML)

      We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.

      When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (recipeArn must not be specified). When false (the default), Amazon Personalize uses recipeArn for training.

      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 Determining your use case.

      When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (recipeArn must not be specified). When false (the default), Amazon Personalize uses recipeArn for training.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • performAutoTraining

      Solution.Builder performAutoTraining(Boolean performAutoTraining)

      Specifies whether the solution automatically creates solution versions. The default is True and the solution automatically creates new solution versions every 7 days.

      For more information about auto training, see Creating and configuring a solution.

      Parameters:
      performAutoTraining - Specifies whether the solution automatically creates solution versions. The default is True and the solution automatically creates new solution versions every 7 days.

      For more information about auto training, see Creating and configuring a solution.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recipeArn

      Solution.Builder recipeArn(String recipeArn)

      The ARN of the recipe used to create the solution. This is required when performAutoML is false.

      Parameters:
      recipeArn - The ARN of the recipe used to create the solution. This is required when performAutoML is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetGroupArn

      Solution.Builder datasetGroupArn(String datasetGroupArn)

      The 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.
    • eventType

      Solution.Builder eventType(String eventType)

      The event type (for example, 'click' or 'like') that is used for training the model. If no eventType is provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.

      Parameters:
      eventType - The event type (for example, 'click' or 'like') that is used for training the model. If no eventType is provided, Amazon Personalize uses 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.
    • solutionConfig

      Solution.Builder solutionConfig(SolutionConfig solutionConfig)

      Describes the configuration properties for the solution.

      Parameters:
      solutionConfig - Describes the configuration properties for the solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • solutionConfig

      default Solution.Builder solutionConfig(Consumer<SolutionConfig.Builder> solutionConfig)

      Describes the configuration properties for the solution.

      This is a convenience method that creates an instance of the SolutionConfig.Builder avoiding the need to create one manually via SolutionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to solutionConfig(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:
    • autoMLResult

      Solution.Builder autoMLResult(AutoMLResult autoMLResult)

      When performAutoML is true, specifies the best recipe found.

      Parameters:
      autoMLResult - When performAutoML is true, specifies the best recipe found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoMLResult

      default Solution.Builder autoMLResult(Consumer<AutoMLResult.Builder> autoMLResult)

      When performAutoML is true, specifies the best recipe found.

      This is a convenience method that creates an instance of the AutoMLResult.Builder avoiding the need to create one manually via AutoMLResult.builder().

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

      Parameters:
      autoMLResult - a consumer that will call methods on AutoMLResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Solution.Builder status(String status)

      The status of the solution.

      A solution can be in one of the following states:

      • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

      • DELETE PENDING > DELETE IN_PROGRESS

      Parameters:
      status - The status of the solution.

      A solution can be in one of the following states:

      • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

      • DELETE PENDING > DELETE IN_PROGRESS

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      Solution.Builder creationDateTime(Instant creationDateTime)

      The creation date and time (in Unix time) of the solution.

      Parameters:
      creationDateTime - The creation date and time (in Unix time) of the solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedDateTime

      Solution.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      The date and time (in Unix time) that the solution was last updated.

      Parameters:
      lastUpdatedDateTime - The date and time (in Unix time) that the solution was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestSolutionVersion

      Solution.Builder latestSolutionVersion(SolutionVersionSummary latestSolutionVersion)

      Describes the latest version of the solution, including the status and the ARN.

      Parameters:
      latestSolutionVersion - Describes the latest version of the solution, including the status and the ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestSolutionVersion

      default Solution.Builder latestSolutionVersion(Consumer<SolutionVersionSummary.Builder> latestSolutionVersion)

      Describes the latest version of the solution, including the status and the ARN.

      This is a convenience method that creates an instance of the SolutionVersionSummary.Builder avoiding the need to create one manually via SolutionVersionSummary.builder().

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

      Parameters:
      latestSolutionVersion - a consumer that will call methods on SolutionVersionSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: