Class UpdateSolutionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.personalize.model.PersonalizeRequest
-
- software.amazon.awssdk.services.personalize.model.UpdateSolutionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateSolutionRequest extends PersonalizeRequest implements ToCopyableBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateSolutionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSolutionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanperformAutoTraining()Whether the solution uses automatic training to create new solution versions (trained models).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateSolutionRequest.Builder>serializableBuilderClass()StringsolutionArn()The Amazon Resource Name (ARN) of the solution to update.SolutionUpdateConfigsolutionUpdateConfig()The new configuration details of the solution.UpdateSolutionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
solutionArn
public final String solutionArn()
The Amazon Resource Name (ARN) of the solution to update.
- Returns:
- The Amazon Resource Name (ARN) of the solution to update.
-
performAutoTraining
public final Boolean performAutoTraining()
Whether the solution uses automatic training to create new solution versions (trained models). You can change the training frequency by specifying a
schedulingExpressionin theAutoTrainingConfigas part of solution configuration.If you turn on automatic training, the first automatic training starts within one hour after the solution update completes. If you manually create a solution version within the hour, the solution skips the first automatic training. For more information about automatic training, see Configuring automatic training.
After training starts, you can get the solution version's Amazon Resource Name (ARN) with the ListSolutionVersions API operation. To get its status, use the DescribeSolutionVersion.
- Returns:
- Whether the solution uses automatic training to create new solution versions (trained models). You can
change the training frequency by specifying a
schedulingExpressionin theAutoTrainingConfigas part of solution configuration.If you turn on automatic training, the first automatic training starts within one hour after the solution update completes. If you manually create a solution version within the hour, the solution skips the first automatic training. For more information about automatic training, see Configuring automatic training.
After training starts, you can get the solution version's Amazon Resource Name (ARN) with the ListSolutionVersions API operation. To get its status, use the DescribeSolutionVersion.
-
solutionUpdateConfig
public final SolutionUpdateConfig solutionUpdateConfig()
The new configuration details of the solution.
- Returns:
- The new configuration details of the solution.
-
toBuilder
public UpdateSolutionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateSolutionRequest.Builder,UpdateSolutionRequest>- Specified by:
toBuilderin classPersonalizeRequest
-
builder
public static UpdateSolutionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateSolutionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-