public UpdateRetrainingSchedulerRequest withPromoteMode(ModelPromoteMode promoteMode) {
        this.promoteMode = promoteMode.toString();
        return this;
    }
<p>
Indicates how the service will use new models. In <code>MANAGED</code> mode, new models will automatically be
used for inference if they have better performance than the current model. In <code>MANUAL</code> mode, the new
models will not be used <a
href="https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/versioning-model.html#model-activation">until
they are manually activated</a>.
</p>

@param promoteMode
       Indicates how the service will use new models. In <code>MANAGED</code> mode, new models will automatically
       be used for inference if they have better performance than the current model. In <code>MANUAL</code> mode,
       the new models will not be used <a href=
       "https://docs.aws.amazon.com/lookout-for-equipment/latest/ug/versioning-model.html#model-activation">until
       they are manually activated</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see ModelPromoteMode
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/UpdateRetrainingSchedulerRequest.java