Solution class

An object that provides information about a solution. A solution is a trained model that can be deployed as a campaign.

  • @JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


Solution({AutoMLResult autoMLResult, DateTime creationDateTime, String datasetGroupArn, String eventType, DateTime lastUpdatedDateTime, SolutionVersionSummary latestSolutionVersion, String name, bool performAutoML, bool performHPO, String recipeArn, String solutionArn, SolutionConfig solutionConfig, String status})
Solution.fromJson(Map<String, dynamic> json)


autoMLResult AutoMLResult
When performAutoML is true, specifies the best recipe found.
@JsonKey(name: 'autoMLResult'), final
creationDateTime DateTime
The creation date and time (in Unix time) of the solution.
@UnixDateTimeConverter(), @JsonKey(name: 'creationDateTime'), final
datasetGroupArn String
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
@JsonKey(name: 'datasetGroupArn'), final
eventType String
The event type (for example, 'click' or 'like') that is used for training the model.
@JsonKey(name: 'eventType'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
lastUpdatedDateTime DateTime
The date and time (in Unix time) that the solution was last updated.
@UnixDateTimeConverter(), @JsonKey(name: 'lastUpdatedDateTime'), final
latestSolutionVersion SolutionVersionSummary
Describes the latest version of the solution, including the status and the ARN.
@JsonKey(name: 'latestSolutionVersion'), final
name String
The name of the solution.
@JsonKey(name: 'name'), final
performAutoML bool
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.
@JsonKey(name: 'performAutoML'), final
performHPO bool
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.
@JsonKey(name: 'performHPO'), final
recipeArn String
The ARN of the recipe used to create the solution.
@JsonKey(name: 'recipeArn'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
solutionArn String
The ARN of the solution.
@JsonKey(name: 'solutionArn'), final
solutionConfig SolutionConfig
Describes the configuration properties for the solution.
@JsonKey(name: 'solutionConfig'), final
status String
The status of the solution. [...]
@JsonKey(name: 'status'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]