@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoMLConfig extends Object implements Serializable, Cloneable, StructuredPojo
 When the solution performs AutoML (performAutoML is true in CreateSolution), Amazon Personalize
 determines which recipe, from the specified list, optimizes the given metric. Amazon Personalize then uses that
 recipe for the solution.
 
| Constructor and Description | 
|---|
| AutoMLConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| AutoMLConfig | clone() | 
| boolean | equals(Object obj) | 
| String | getMetricName()
 The metric to optimize. | 
| List<String> | getRecipeList()
 The list of candidate recipes. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setMetricName(String metricName)
 The metric to optimize. | 
| void | setRecipeList(Collection<String> recipeList)
 The list of candidate recipes. | 
| String | toString()Returns a string representation of this object. | 
| AutoMLConfig | withMetricName(String metricName)
 The metric to optimize. | 
| AutoMLConfig | withRecipeList(Collection<String> recipeList)
 The list of candidate recipes. | 
| AutoMLConfig | withRecipeList(String... recipeList)
 The list of candidate recipes. | 
public void setMetricName(String metricName)
The metric to optimize.
metricName - The metric to optimize.public String getMetricName()
The metric to optimize.
public AutoMLConfig withMetricName(String metricName)
The metric to optimize.
metricName - The metric to optimize.public List<String> getRecipeList()
The list of candidate recipes.
public void setRecipeList(Collection<String> recipeList)
The list of candidate recipes.
recipeList - The list of candidate recipes.public AutoMLConfig withRecipeList(String... recipeList)
The list of candidate recipes.
 NOTE: This method appends the values to the existing list (if any). Use
 setRecipeList(java.util.Collection) or withRecipeList(java.util.Collection) if you want to
 override the existing values.
 
recipeList - The list of candidate recipes.public AutoMLConfig withRecipeList(Collection<String> recipeList)
The list of candidate recipes.
recipeList - The list of candidate recipes.public String toString()
toString in class ObjectObject.toString()public AutoMLConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.