Interface CreateSolutionRequest.Builder

    • Method Detail

      • name

        CreateSolutionRequest.Builder name​(String name)

        The name for the solution.

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

        CreateSolutionRequest.Builder performHPO​(Boolean performHPO)

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

        When performing AutoML, this parameter is always true and you should not set it to false.

        Parameters:
        performHPO - Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is false.

        When performing AutoML, this parameter is always true and you should not set it to false.

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

        CreateSolutionRequest.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.

        Whether to perform automated machine learning (AutoML). The default is false. For this case, you must specify recipeArn.

        When set to true, Amazon Personalize analyzes your training data and selects the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn. Amazon Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.

        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.

        Whether to perform automated machine learning (AutoML). The default is false. For this case, you must specify recipeArn.

        When set to true, Amazon Personalize analyzes your training data and selects the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn. Amazon Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.

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

        CreateSolutionRequest.Builder recipeArn​(String recipeArn)

        The ARN of the recipe to use for model training. This is required when performAutoML is false.

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

        CreateSolutionRequest.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

        CreateSolutionRequest.Builder eventType​(String eventType)

        When your have multiple event types (using an EVENT_TYPE schema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model.

        If you do not provide an eventType, Amazon Personalize will use all interactions for training with equal weight regardless of type.

        Parameters:
        eventType - When your have multiple event types (using an EVENT_TYPE schema field), this parameter specifies which event type (for example, 'click' or 'like') is used for training the model.

        If you do not provide an eventType, Amazon Personalize will use 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

        CreateSolutionRequest.Builder solutionConfig​(SolutionConfig solutionConfig)

        The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration.

        Amazon Personalize doesn't support configuring the hpoObjective at this time.

        Parameters:
        solutionConfig - The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize only evaluates the autoMLConfig section of the solution configuration.

        Amazon Personalize doesn't support configuring the hpoObjective at this time.

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

        CreateSolutionRequest.Builder tags​(Collection<Tag> tags)

        A list of tags to apply to the solution.

        Parameters:
        tags - A list of tags to apply to the solution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateSolutionRequest.Builder tags​(Tag... tags)

        A list of tags to apply to the solution.

        Parameters:
        tags - A list of tags to apply to the solution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.