Interface UpdateRetrainingSchedulerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRetrainingSchedulerRequest.Builder,
,UpdateRetrainingSchedulerRequest> LookoutEquipmentRequest.Builder
,SdkBuilder<UpdateRetrainingSchedulerRequest.Builder,
,UpdateRetrainingSchedulerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRetrainingSchedulerRequest
-
Method Summary
Modifier and TypeMethodDescriptionlookbackWindow
(String lookbackWindow) The number of past days of data that will be used for retraining.The name of the model whose retraining scheduler you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.promoteMode
(String promoteMode) Indicates how the service will use new models.promoteMode
(ModelPromoteMode promoteMode) Indicates how the service will use new models.retrainingFrequency
(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).retrainingStartDate
(Instant retrainingStartDate) The start date for the retraining scheduler.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
modelName
The name of the model whose retraining scheduler you want to update.
- Parameters:
modelName
- The name of the model whose retraining scheduler you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retrainingStartDate
The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.
- Parameters:
retrainingStartDate
- The start date for the retraining scheduler. Lookout for Equipment truncates the time you provide to the nearest UTC day.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-
lookbackWindow
The number of past days of data that will be used for retraining.
- Parameters:
lookbackWindow
- The number of past days of data that will be used for retraining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promoteMode
Indicates how the service will use new models. In
MANAGED
mode, new models will automatically be used for inference if they have better performance than the current model. InMANUAL
mode, the new models will not be used until they are manually activated.- Parameters:
promoteMode
- Indicates how the service will use new models. InMANAGED
mode, new models will automatically be used for inference if they have better performance than the current model. InMANUAL
mode, the new models will not be used until they are manually activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
promoteMode
Indicates how the service will use new models. In
MANAGED
mode, new models will automatically be used for inference if they have better performance than the current model. InMANUAL
mode, the new models will not be used until they are manually activated.- Parameters:
promoteMode
- Indicates how the service will use new models. InMANAGED
mode, new models will automatically be used for inference if they have better performance than the current model. InMANUAL
mode, the new models will not be used until they are manually activated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRetrainingSchedulerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRetrainingSchedulerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-