Class Solution
- All Implemented Interfaces:
Serializable
,SdkPojo
,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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AutoMLResult
WhenperformAutoML
is true, specifies the best recipe found.static Solution.Builder
builder()
final Instant
The creation date and time (in Unix time) of the solution.final String
The Amazon Resource Name (ARN) of the dataset group that provides the training data.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The event type (for example, 'click' or 'like') that is used for training the model.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The date and time (in Unix time) that the solution was last updated.final SolutionVersionSummary
Describes the latest version of the solution, including the status and the ARN.final String
name()
The name of the solution.final Boolean
final Boolean
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.final String
The ARN of the recipe used to create the solution.static Class
<? extends Solution.Builder> final String
The ARN of the solution.final SolutionConfig
Describes the configuration properties for the solution.final String
status()
The status of the solution.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the solution.
- Returns:
- The name of the solution.
-
solutionArn
The ARN of the solution.
- Returns:
- The ARN of the solution.
-
performHPO
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false
.- Returns:
- Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false
.
-
performAutoML
We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
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 usesrecipeArn
for training.- Returns:
We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
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 usesrecipeArn
for training.
-
recipeArn
The ARN of the recipe used to create the solution. This is required when
performAutoML
is false.- Returns:
- The ARN of the recipe used to create the solution. This is required when
performAutoML
is false.
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
- Returns:
- The Amazon Resource Name (ARN) of the dataset group that provides the training data.
-
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.- Returns:
- 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.
-
solutionConfig
Describes the configuration properties for the solution.
- Returns:
- Describes the configuration properties for the solution.
-
autoMLResult
When
performAutoML
is true, specifies the best recipe found.- Returns:
- When
performAutoML
is true, specifies the best recipe found.
-
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
- Returns:
- 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
-
-
-
creationDateTime
The creation date and time (in Unix time) of the solution.
- Returns:
- The creation date and time (in Unix time) of the solution.
-
lastUpdatedDateTime
The date and time (in Unix time) that the solution was last updated.
- Returns:
- The date and time (in Unix time) that the solution was last updated.
-
latestSolutionVersion
Describes the latest version of the solution, including the status and the ARN.
- Returns:
- Describes the latest version of the solution, including the status and the ARN.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Solution.Builder,
Solution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-