@Generated(value="software.amazon.awssdk:codegen") public final class SolutionVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SolutionVersion.Builder,SolutionVersion>
An object that provides information about a specific version of a Solution.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SolutionVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SolutionVersion.Builder |
builder() |
Instant |
creationDateTime()
The date and time (in Unix time) that this version of the solution was created.
|
String |
datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group providing 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.
|
String |
failureReason()
If training a solution version fails, the reason for the failure.
|
<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.
|
Boolean |
performAutoML()
When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration.
|
Boolean |
performHPO()
Whether to perform hyperparameter optimization (HPO) on the chosen recipe.
|
String |
recipeArn()
The ARN of the recipe used in the solution.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SolutionVersion.Builder> |
serializableBuilderClass() |
String |
solutionArn()
The ARN of the solution.
|
SolutionConfig |
solutionConfig()
Describes the configuration properties for the solution.
|
String |
solutionVersionArn()
The ARN of the solution version.
|
String |
status()
The status of the solution version.
|
SolutionVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
trainingHours()
The time used to train the model.
|
TrainingMode |
trainingMode()
The scope of training used to create the solution version.
|
String |
trainingModeAsString()
The scope of training used to create the solution version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String solutionVersionArn()
The ARN of the solution version.
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 searches for the most optimal recipe according to the solution configuration. When
false (the default), Amazon Personalize uses recipeArn.
recipeArn.public String recipeArn()
The ARN of the recipe used in the solution.
public String eventType()
The event type (for example, 'click' or 'like') that is used for training the model.
public String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group providing the training data.
public SolutionConfig solutionConfig()
Describes the configuration properties for the solution.
public Double trainingHours()
The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.
public TrainingMode trainingMode()
The scope of training used to create the solution version. The FULL option trains the solution
version based on the entirety of the input solution's training data, while the UPDATE option
processes only the training data that has changed since the creation of the last solution version. Choose
UPDATE when you want to start recommending items added to the dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
If the service returns an enum value that is not available in the current SDK version, trainingMode will
return TrainingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
trainingModeAsString().
FULL option trains the
solution version based on the entirety of the input solution's training data, while the
UPDATE option processes only the training data that has changed since the creation of the
last solution version. Choose UPDATE when you want to start recommending items added to the
dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
TrainingModepublic String trainingModeAsString()
The scope of training used to create the solution version. The FULL option trains the solution
version based on the entirety of the input solution's training data, while the UPDATE option
processes only the training data that has changed since the creation of the last solution version. Choose
UPDATE when you want to start recommending items added to the dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
If the service returns an enum value that is not available in the current SDK version, trainingMode will
return TrainingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
trainingModeAsString().
FULL option trains the
solution version based on the entirety of the input solution's training data, while the
UPDATE option processes only the training data that has changed since the creation of the
last solution version. Choose UPDATE when you want to start recommending items added to the
dataset without retraining the model.
The UPDATE option can only be used after you've created a solution version with the
FULL option and the training solution uses the native-recipe-hrnn-coldstart.
TrainingModepublic String status()
The status of the solution version.
A solution version can be in one of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE FAILED
A solution version can be in one of the following states:
CREATE PENDING
CREATE IN_PROGRESS
ACTIVE
CREATE FAILED
public String failureReason()
If training a solution version fails, the reason for the failure.
public Instant creationDateTime()
The date and time (in Unix time) that this version of the solution was created.
public Instant lastUpdatedDateTime()
The date and time (in Unix time) that the solution was last updated.
public SolutionVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SolutionVersion.Builder,SolutionVersion>public static SolutionVersion.Builder builder()
public static Class<? extends SolutionVersion.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.