@Generated(value="software.amazon.awssdk:codegen") public final class Solution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Solution.Builder,Solution>
An object that provides information about a solution. A solution is a trained model that can be deployed as a campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Solution.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutoMLResult |
autoMLResult()
When
performAutoML is true, specifies the best recipe found. |
static Solution.Builder |
builder() |
Instant |
creationDateTime()
The creation date and time (in Unix time) of the solution.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventType()
The event type (for example, 'click' or 'like') that is used for training the model.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
|
SolutionVersionSummary |
latestSolutionVersion()
Describes the latest version of the solution, including the status and the ARN.
|
String |
name()
The name of the solution.
|
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). |
Boolean |
performHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
String |
recipeArn()
The ARN of the recipe used to create the solution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Solution.Builder> |
serializableBuilderClass() |
String |
solutionArn()
The ARN of the solution.
|
SolutionConfig |
solutionConfig()
Describes the configuration properties for the solution.
|
String |
status()
The status of the solution.
|
Solution.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The name of the solution.
public String solutionArn()
The ARN of the solution.
public Boolean performHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.
false.public 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.
recipeArn must not be specified). When false (the
default), Amazon Personalize uses recipeArn for training.public String recipeArn()
The ARN of the recipe used to create the solution.
public String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
public String eventType()
The event type (for example, 'click' or 'like') that is used for training the model.
public SolutionConfig solutionConfig()
Describes the configuration properties for the solution.
public AutoMLResult autoMLResult()
When performAutoML is true, specifies the best recipe found.
performAutoML is true, specifies the best recipe found.public 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
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 Instant creationDateTime()
The creation date and time (in Unix time) of the solution.
public Instant lastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
public SolutionVersionSummary latestSolutionVersion()
Describes the latest version of the solution, including the status and the ARN.
public Solution.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Solution.Builder,Solution>public static Solution.Builder builder()
public static Class<? extends Solution.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.