Class SolutionVersion
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SolutionVersion.Builder,SolutionVersion>
An object that provides information about a specific version of a Solution in a Custom dataset group.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SolutionVersion.Builderbuilder()final InstantThe date and time (in Unix time) that this version of the solution was created.final StringThe Amazon Resource Name (ARN) of the dataset group providing the training data.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe event type (for example, 'click' or 'like') that is used for training the model.final StringIf training a solution version fails, the reason for the failure.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time (in Unix time) that the solution was last updated.final Stringname()The name of the solution version.final BooleanWhen true, Amazon Personalize searches for the most optimal recipe according to the solution configuration.final BooleanWhether to perform hyperparameter optimization (HPO) on the chosen recipe.final StringThe ARN of the recipe used in the solution.static Class<? extends SolutionVersion.Builder> final StringThe ARN of the solution.final SolutionConfigDescribes the configuration properties for the solution.final StringThe ARN of the solution version.final Stringstatus()The status of the solution version.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final DoubleThe time used to train the model.final TrainingModeThe scope of training to be performed when creating the solution version.final StringThe scope of training to be performed when creating the solution version.final TrainingTypeWhether the solution version was created automatically or manually.final StringWhether the solution version was created automatically or manually.final TunedHPOParamsIf hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the solution version.
- Returns:
- The name of the solution version.
-
solutionVersionArn
The ARN of the solution version.
- Returns:
- The ARN of the solution version.
-
solutionArn
-
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
When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses
recipeArn.- Returns:
- When true, Amazon Personalize searches for the most optimal recipe according to the solution
configuration. When false (the default), Amazon Personalize uses
recipeArn.
-
recipeArn
The ARN of the recipe used in the solution.
- Returns:
- The ARN of the recipe used in the solution.
-
eventType
The event type (for example, 'click' or 'like') that is used for training the model.
- Returns:
- The event type (for example, 'click' or 'like') that is used for training the model.
-
datasetGroupArn
The Amazon Resource Name (ARN) of the dataset group providing the training data.
- Returns:
- The Amazon Resource Name (ARN) of the dataset group providing the training data.
-
solutionConfig
Describes the configuration properties for the solution.
- Returns:
- Describes the configuration properties for the solution.
-
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.
- Returns:
- 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.
-
trainingMode
The scope of training to be performed when creating the solution version. A
FULLtraining considers all of the data in your dataset group. AnUPDATEprocesses only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can useUPDATE.If the service returns an enum value that is not available in the current SDK version,
trainingModewill returnTrainingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingModeAsString().- Returns:
- The scope of training to be performed when creating the solution version. A
FULLtraining considers all of the data in your dataset group. AnUPDATEprocesses only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can useUPDATE. - See Also:
-
trainingModeAsString
The scope of training to be performed when creating the solution version. A
FULLtraining considers all of the data in your dataset group. AnUPDATEprocesses only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can useUPDATE.If the service returns an enum value that is not available in the current SDK version,
trainingModewill returnTrainingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingModeAsString().- Returns:
- The scope of training to be performed when creating the solution version. A
FULLtraining considers all of the data in your dataset group. AnUPDATEprocesses only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can useUPDATE. - See Also:
-
tunedHPOParams
If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
- Returns:
- If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.
-
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
-
CREATE STOPPING
-
CREATE STOPPED
- Returns:
- 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
-
CREATE STOPPING
-
CREATE STOPPED
-
-
-
failureReason
If training a solution version fails, the reason for the failure.
- Returns:
- If training a solution version fails, the reason for the failure.
-
creationDateTime
The date and time (in Unix time) that this version of the solution was created.
- Returns:
- The date and time (in Unix time) that this version of the solution was created.
-
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.
-
trainingType
Whether the solution version was created automatically or manually.
If the service returns an enum value that is not available in the current SDK version,
trainingTypewill returnTrainingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingTypeAsString().- Returns:
- Whether the solution version was created automatically or manually.
- See Also:
-
trainingTypeAsString
Whether the solution version was created automatically or manually.
If the service returns an enum value that is not available in the current SDK version,
trainingTypewill returnTrainingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrainingTypeAsString().- Returns:
- Whether the solution version was created automatically or manually.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SolutionVersion.Builder,SolutionVersion> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-