@Generated(value="software.amazon.awssdk:codegen") public final class CreateSolutionRequest extends PersonalizeRequest implements ToCopyableBuilder<CreateSolutionRequest.Builder,CreateSolutionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateSolutionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateSolutionRequest.Builder |
builder() |
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()
When your have multiple event types (using an
EVENT_TYPE schema field), this parameter specifies
which event type (for example, 'click' or 'like') is used for training the model. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
name()
The name for the solution.
|
Boolean |
performAutoML()
Whether to perform automated machine learning (AutoML).
|
Boolean |
performHPO()
Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe.
|
String |
recipeArn()
The ARN of the recipe to use for model training.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSolutionRequest.Builder> |
serializableBuilderClass() |
SolutionConfig |
solutionConfig()
The configuration to use with the solution.
|
List<Tag> |
tags()
A list of tags to apply
to the solution.
|
CreateSolutionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name for the solution.
public final Boolean performHPO()
Whether to perform hyperparameter optimization (HPO) on the specified or selected recipe. The default is
false.
When performing AutoML, this parameter is always true and you should not set it to
false.
false.
When performing AutoML, this parameter is always true and you should not set it to
false.
public final Boolean performAutoML()
Whether to perform automated machine learning (AutoML). The default is false. For this case, you
must specify recipeArn.
When set to true, Amazon Personalize analyzes your training data and selects the optimal
USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn. Amazon
Personalize determines the optimal recipe by running tests with different values for the hyperparameters. AutoML
lengthens the training process as compared to selecting a specific recipe.
false. For this case,
you must specify recipeArn.
When set to true, Amazon Personalize analyzes your training data and selects the optimal
USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit recipeArn.
Amazon Personalize determines the optimal recipe by running tests with different values for the
hyperparameters. AutoML lengthens the training process as compared to selecting a specific recipe.
public final String recipeArn()
The ARN of the recipe to use for model training. Only specified when performAutoML is false.
performAutoML is false.public final String datasetGroupArn()
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
public final String eventType()
When your have multiple event types (using an EVENT_TYPE schema field), this parameter specifies
which event type (for example, 'click' or 'like') is used for training the model.
If you do not provide an eventType, Amazon Personalize will use all interactions for training with
equal weight regardless of type.
EVENT_TYPE schema field), this parameter
specifies which event type (for example, 'click' or 'like') is used for training the model.
If you do not provide an eventType, Amazon Personalize will use all interactions for
training with equal weight regardless of type.
public final SolutionConfig solutionConfig()
The configuration to use with the solution. When performAutoML is set to true, Amazon Personalize
only evaluates the autoMLConfig section of the solution configuration.
Amazon Personalize doesn't support configuring the hpoObjective at this time.
performAutoML is set to true, Amazon
Personalize only evaluates the autoMLConfig section of the solution configuration.
Amazon Personalize doesn't support configuring the hpoObjective at this time.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<Tag> tags()
A list of tags to apply to the solution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public CreateSolutionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSolutionRequest.Builder,CreateSolutionRequest>toBuilder in class PersonalizeRequestpublic static CreateSolutionRequest.Builder builder()
public static Class<? extends CreateSolutionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.