Class UpdateRetrainingSchedulerRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest
-
- software.amazon.awssdk.services.lookoutequipment.model.UpdateRetrainingSchedulerRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateRetrainingSchedulerRequest.Builder,UpdateRetrainingSchedulerRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateRetrainingSchedulerRequest extends LookoutEquipmentRequest implements ToCopyableBuilder<UpdateRetrainingSchedulerRequest.Builder,UpdateRetrainingSchedulerRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateRetrainingSchedulerRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateRetrainingSchedulerRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlookbackWindow()The number of past days of data that will be used for retraining.StringmodelName()The name of the model whose retraining scheduler you want to update.ModelPromoteModepromoteMode()Indicates how the service will use new models.StringpromoteModeAsString()Indicates how the service will use new models.StringretrainingFrequency()This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported).InstantretrainingStartDate()The start date for the retraining scheduler.List<SdkField<?>>sdkFields()static Class<? extends UpdateRetrainingSchedulerRequest.Builder>serializableBuilderClass()UpdateRetrainingSchedulerRequest.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
-
modelName
public final String modelName()
The name of the model whose retraining scheduler you want to update.
- Returns:
- The name of the model whose retraining scheduler you want to update.
-
retrainingStartDate
public final Instant retrainingStartDate()
The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.
- Returns:
- The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.
-
retrainingFrequency
public final String retrainingFrequency()
This parameter uses the ISO 8601 standard to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note: other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the maximum value is 1 year (P1Y). For example, the following values are valid:
-
P3M15D – Every 3 months and 15 days
-
P2M – Every 2 months
-
P150D – Every 150 days
- Returns:
- This parameter uses the ISO 8601 standard
to set the frequency at which you want retraining to occur in terms of Years, Months, and/or Days (note:
other parameters like Time are not currently supported). The minimum value is 30 days (P30D) and the
maximum value is 1 year (P1Y). For example, the following values are valid:
-
P3M15D – Every 3 months and 15 days
-
P2M – Every 2 months
-
P150D – Every 150 days
-
-
-
lookbackWindow
public final String lookbackWindow()
The number of past days of data that will be used for retraining.
- Returns:
- The number of past days of data that will be used for retraining.
-
promoteMode
public final ModelPromoteMode promoteMode()
Indicates how the service will use new models. In
MANAGEDmode, new models will automatically be used for inference if they have better performance than the current model. InMANUALmode, the new models will not be used until they are manually activated.If the service returns an enum value that is not available in the current SDK version,
promoteModewill returnModelPromoteMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromoteModeAsString().- Returns:
- Indicates how the service will use new models. In
MANAGEDmode, new models will automatically be used for inference if they have better performance than the current model. InMANUALmode, the new models will not be used until they are manually activated. - See Also:
ModelPromoteMode
-
promoteModeAsString
public final String promoteModeAsString()
Indicates how the service will use new models. In
MANAGEDmode, new models will automatically be used for inference if they have better performance than the current model. InMANUALmode, the new models will not be used until they are manually activated.If the service returns an enum value that is not available in the current SDK version,
promoteModewill returnModelPromoteMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompromoteModeAsString().- Returns:
- Indicates how the service will use new models. In
MANAGEDmode, new models will automatically be used for inference if they have better performance than the current model. InMANUALmode, the new models will not be used until they are manually activated. - See Also:
ModelPromoteMode
-
toBuilder
public UpdateRetrainingSchedulerRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateRetrainingSchedulerRequest.Builder,UpdateRetrainingSchedulerRequest>- Specified by:
toBuilderin classLookoutEquipmentRequest
-
builder
public static UpdateRetrainingSchedulerRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateRetrainingSchedulerRequest.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
-
-