@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) |
<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 of the solution version.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSolutionVersionRequest.Builder> |
serializableBuilderClass() |
String |
solutionArn()
The Amazon Resource Name (ARN) of the solution containing the training configuration information.
|
List<Tag> |
tags()
A list of tags to apply
to the solution version.
|
CreateSolutionVersionRequest.Builder |
toBuilder() |
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.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the solution version.
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.
TrainingModepublic 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.
TrainingModepublic 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 version.
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 CreateSolutionVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSolutionVersionRequest.Builder,CreateSolutionVersionRequest>toBuilder in class PersonalizeRequestpublic static CreateSolutionVersionRequest.Builder builder()
public static Class<? extends CreateSolutionVersionRequest.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 © 2023. All rights reserved.