@Generated(value="software.amazon.awssdk:codegen") public final class CreateSolutionVersionRequest extends PersonalizeRequest implements ToCopyableBuilder<CreateSolutionVersionRequest.Builder,CreateSolutionVersionRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateSolutionVersionRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateSolutionVersionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSolutionVersionRequest.Builder> |
serializableBuilderClass() |
String |
solutionArn()
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
|
CreateSolutionVersionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
TrainingMode |
trainingMode()
The scope of training to be performed when creating the solution version.
|
String |
trainingModeAsString()
The scope of training to be performed when creating the solution version.
|
overrideConfiguration
copy
public final String solutionArn()
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
public final TrainingMode trainingMode()
The scope of training to be performed when creating 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 data that has changed in comparison to the input solution. Choose UPDATE
when you want to incrementally update your solution version instead of creating an entirely new one.
The UPDATE
option can only be used when you already have an active solution version created from the
input solution using the FULL
option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart
recipe.
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 data that has changed in comparison to the input solution.
Choose UPDATE
when you want to incrementally update your solution version instead of
creating an entirely new one.
The UPDATE
option can only be used when you already have an active solution version created
from the input solution using the FULL
option and the input solution was trained with the
User-Personalization recipe or the HRNN-Coldstart recipe.
TrainingMode
public final String trainingModeAsString()
The scope of training to be performed when creating 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 data that has changed in comparison to the input solution. Choose UPDATE
when you want to incrementally update your solution version instead of creating an entirely new one.
The UPDATE
option can only be used when you already have an active solution version created from the
input solution using the FULL
option and the input solution was trained with the User-Personalization recipe or the HRNN-Coldstart
recipe.
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 data that has changed in comparison to the input solution.
Choose UPDATE
when you want to incrementally update your solution version instead of
creating an entirely new one.
The UPDATE
option can only be used when you already have an active solution version created
from the input solution using the FULL
option and the input solution was trained with the
User-Personalization recipe or the HRNN-Coldstart recipe.
TrainingMode
public CreateSolutionVersionRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateSolutionVersionRequest.Builder,CreateSolutionVersionRequest>
toBuilder
in class PersonalizeRequest
public static CreateSolutionVersionRequest.Builder builder()
public static Class<? extends CreateSolutionVersionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.