@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Solution extends Object implements Serializable, Cloneable, StructuredPojo
An object that provides information about a solution. A solution is a trained model that can be deployed as a campaign.
Constructor and Description |
---|
Solution() |
Modifier and Type | Method and Description |
---|---|
Solution |
clone() |
boolean |
equals(Object obj) |
AutoMLResult |
getAutoMLResult()
When
performAutoML is true, specifies the best recipe found. |
Date |
getCreationDateTime()
The creation date and time (in Unix time) of the solution.
|
String |
getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
String |
getEventType()
The event type (for example, 'click' or 'like') that is used for training the model.
|
Date |
getLastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
|
SolutionVersionSummary |
getLatestSolutionVersion()
Describes the latest version of the solution, including the status and the ARN.
|
String |
getName()
The name of the solution.
|
Boolean |
getPerformAutoML()
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). |
Boolean |
getPerformHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
String |
getRecipeArn()
The ARN of the recipe used to create the solution.
|
String |
getSolutionArn()
The ARN of the solution.
|
SolutionConfig |
getSolutionConfig()
Describes the configuration properties for the solution.
|
String |
getStatus()
The status of the solution.
|
int |
hashCode() |
Boolean |
isPerformAutoML()
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). |
Boolean |
isPerformHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutoMLResult(AutoMLResult autoMLResult)
When
performAutoML is true, specifies the best recipe found. |
void |
setCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the solution.
|
void |
setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
void |
setEventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
|
void |
setLatestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
|
void |
setName(String name)
The name of the solution.
|
void |
setPerformAutoML(Boolean performAutoML)
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). |
void |
setPerformHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
void |
setRecipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
|
void |
setSolutionArn(String solutionArn)
The ARN of the solution.
|
void |
setSolutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
|
void |
setStatus(String status)
The status of the solution.
|
String |
toString()
Returns a string representation of this object.
|
Solution |
withAutoMLResult(AutoMLResult autoMLResult)
When
performAutoML is true, specifies the best recipe found. |
Solution |
withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the solution.
|
Solution |
withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
Solution |
withEventType(String eventType)
The event type (for example, 'click' or 'like') that is used for training the model.
|
Solution |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
|
Solution |
withLatestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
|
Solution |
withName(String name)
The name of the solution.
|
Solution |
withPerformAutoML(Boolean performAutoML)
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). |
Solution |
withPerformHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
Solution |
withRecipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
|
Solution |
withSolutionArn(String solutionArn)
The ARN of the solution.
|
Solution |
withSolutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
|
Solution |
withStatus(String status)
The status of the solution.
|
public void setName(String name)
The name of the solution.
name
- The name of the solution.public String getName()
The name of the solution.
public Solution withName(String name)
The name of the solution.
name
- The name of the solution.public void setSolutionArn(String solutionArn)
The ARN of the solution.
solutionArn
- The ARN of the solution.public String getSolutionArn()
The ARN of the solution.
public Solution withSolutionArn(String solutionArn)
The ARN of the solution.
solutionArn
- The ARN of the solution.public void setPerformHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false
.
performHPO
- Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false
.public Boolean getPerformHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false
.
false
.public Solution withPerformHPO(Boolean performHPO)
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false
.
performHPO
- Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false
.public Boolean isPerformHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false
.
false
.public void setPerformAutoML(Boolean performAutoML)
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.
performAutoML
- 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.public Boolean getPerformAutoML()
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.
recipeArn
must not be specified). When false (the
default), Amazon Personalize uses recipeArn
for training.public Solution withPerformAutoML(Boolean performAutoML)
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.
performAutoML
- 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.public Boolean isPerformAutoML()
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.
recipeArn
must not be specified). When false (the
default), Amazon Personalize uses recipeArn
for training.public void setRecipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
recipeArn
- The ARN of the recipe used to create the solution.public String getRecipeArn()
The ARN of the recipe used to create the solution.
public Solution withRecipeArn(String recipeArn)
The ARN of the recipe used to create the solution.
recipeArn
- The ARN of the recipe used to create the solution.public void setDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that provides the training data.public String getDatasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
public Solution withDatasetGroupArn(String datasetGroupArn)
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
datasetGroupArn
- The Amazon Resource Name (ARN) of the dataset group that provides the training data.public void setEventType(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.
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.public String getEventType()
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.
eventType
is provided, Amazon Personalize uses all interactions for training with equal
weight regardless of type.public Solution withEventType(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.
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.public void setSolutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
solutionConfig
- Describes the configuration properties for the solution.public SolutionConfig getSolutionConfig()
Describes the configuration properties for the solution.
public Solution withSolutionConfig(SolutionConfig solutionConfig)
Describes the configuration properties for the solution.
solutionConfig
- Describes the configuration properties for the solution.public void setAutoMLResult(AutoMLResult autoMLResult)
When performAutoML
is true, specifies the best recipe found.
autoMLResult
- When performAutoML
is true, specifies the best recipe found.public AutoMLResult getAutoMLResult()
When performAutoML
is true, specifies the best recipe found.
performAutoML
is true, specifies the best recipe found.public Solution withAutoMLResult(AutoMLResult autoMLResult)
When performAutoML
is true, specifies the best recipe found.
autoMLResult
- When performAutoML
is true, specifies the best recipe found.public void setStatus(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
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
public String getStatus()
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
A solution can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public Solution withStatus(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
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
public void setCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the solution.
creationDateTime
- The creation date and time (in Unix time) of the solution.public Date getCreationDateTime()
The creation date and time (in Unix time) of the solution.
public Solution withCreationDateTime(Date creationDateTime)
The creation date and time (in Unix time) of the solution.
creationDateTime
- The creation date and time (in Unix time) of the solution.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the solution was last updated.public Date getLastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
public Solution withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time (in Unix time) that the solution was last updated.
lastUpdatedDateTime
- The date and time (in Unix time) that the solution was last updated.public void setLatestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
latestSolutionVersion
- Describes the latest version of the solution, including the status and the ARN.public SolutionVersionSummary getLatestSolutionVersion()
Describes the latest version of the solution, including the status and the ARN.
public Solution withLatestSolutionVersion(SolutionVersionSummary latestSolutionVersion)
Describes the latest version of the solution, including the status and the ARN.
latestSolutionVersion
- Describes the latest version of the solution, including the status and the ARN.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.