Interface Solution.Builder

    • Method Detail

      • name

        Solution.Builder name​(String 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.
      • 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.
      • 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.