Interface CreateRetrainingSchedulerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRetrainingSchedulerRequest.Builder,,CreateRetrainingSchedulerRequest> LookoutEquipmentRequest.Builder,SdkBuilder<CreateRetrainingSchedulerRequest.Builder,,CreateRetrainingSchedulerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRetrainingSchedulerRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique identifier for the request.lookbackWindow(String lookbackWindow) The number of past days of data that will be used for retraining.The name of the model to add the retraining scheduler to.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
modelName
The name of the model to add the retraining scheduler to.
- Parameters:
modelName- The name of the model to add the retraining scheduler to.- 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
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.- Parameters:
promoteMode- Indicates how the service will use new models. InMANAGEDmode, 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.- 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
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.- Parameters:
promoteMode- Indicates how the service will use new models. InMANAGEDmode, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
- Parameters:
clientToken- A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRetrainingSchedulerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRetrainingSchedulerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-