public CreateFlywheelRequest withActiveModelArn(String activeModelArn) {
        setActiveModelArn(activeModelArn);
        return this;
    }
<p>
To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model version.
Do not set <code>TaskConfig</code> or <code>ModelType</code> if you specify an <code>ActiveModelArn</code>.
</p>

@param activeModelArn
       To associate an existing model with the flywheel, specify the Amazon Resource Number (ARN) of the model
       version. Do not set <code>TaskConfig</code> or <code>ModelType</code> if you specify an
       <code>ActiveModelArn</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/CreateFlywheelRequest.java