@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 final String name()
The name of the solution.
public final String solutionArn()
The ARN of the solution.
public final Boolean performHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.
false.public final 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 final String recipeArn()
The ARN of the recipe used to create the solution.
public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
public final 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 is provided, Amazon Personalize uses all interactions for training with equal
weight regardless of type.public final SolutionConfig solutionConfig()
Describes the configuration properties for the solution.
public final AutoMLResult autoMLResult()
When performAutoML is true, specifies the best recipe found.
performAutoML is true, specifies the best recipe found.public final 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 final Instant creationDateTime()
The creation date and time (in Unix time) of the solution.
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.